Quixote vs. Preppy
A.M. Kuchling
amk at amk.ca
Thu Aug 5 15:40:48 EDT 2004
On Thu, 5 Aug 2004 10:55:19 -0600,
Bruce Eckel <BruceEckel at MailBlocks.com> wrote:
> programmer"), but someone also suggested Preppy from Reportlabs:
> http://www.reportlab.org/preppy.html
Preppy looks like a templating library, not an arbitrary web framework, so
the direct comparison is to Quixote's PTL. It should be straightforward to
use Preppy templates from a Quixote handler function, something like:
import preppy
def _q_index (request):
d = {'name':'amk', ...}
m = preppy.getModule('template')
return m.run(d)
(The Quixote Wiki at http://www.quixote.ca/qx/ also includes examples
showing Quixote with other templating libraries such as SimpleTAL. The tips
on http://www.quixote.ca/qx/TemplatingWithZpt are probably relevant.)
--amk
More information about the Python-list
mailing list