December 13, 2002
I've got a fairly simple function to put together for my father - I want to give him a simple online form enabling him to maintain his gig list. The host supports CGI only, so obviously I'm going to use Python.
Equally obviously, I'm going to want a template engine. The problem here that there are just so many of the bloody things!
I had a quick look at YAPTU, but I just didn't like it - you shouldn't need all this re compiling business.
Cheetah looks nice, though - rather Velocity-like. This paper (found via ZOpen-X) introduces Cheetah. If you've not come across Velocity - have a look at Start up the Velocity Template Engine.
Posted to Python by Simon Brunning at December 13, 2002 03:30 PM
Search for poor man'z zope (PMZ). It is ONE script that makes it very easy to do this.
you don't like YAPTU!?!
The martellibot might blow a fuse when he hears.
(disclaimer. I have not used any Python templating system enough to have an opinion. I'm just giving Simon a bit of grief.)
It's a pity that no-one's hooked ZPT into any other cgi engines - it's so bloody nice for templating HTML.
Roundup - http://roundup.sf.net/ - uses ZPT and it rocks :)