durusmail: quixote-users: Quixote and Zope Page Templates Example Available
Quixote and Zope Page Templates Example Available
2004-04-17
Quixote and Zope Page Templates Example Available
Amos Latteier
2004-04-17
Hi,

I've been meaning to play around with Quixote and zope page templates for a
long time. I found some interested suggestions in the wiki and added some
information of my own.

   http://quixote.ca/qx/QuixoteAndSimpleTalAdvanced

The main things I've added are:

  *  Access to Quixote objects via paths, e.g.

results of calling method

This lets you use path expressions to locate and call Quixote objects in exactly the same way as using normal Quixote URLs. * Page templates as methods, allowing access to instance via the self variable. e.g.

results of calling instance method

This lets you create a series of templates in a class to display instances. I hope someone finds this useful. I think that ZPT is a cool technology and a pretty good fit for Quixote. -Amos
reply