December 13, 2002
Python templating

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.

Posted by: Babu on December 13, 2002 06:33 PM

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.)

Posted by: j on December 13, 2002 09:41 PM

It's a pity that no-one's hooked ZPT into any other cgi engines - it's so bloody nice for templating HTML.

Roundup - - uses ZPT and it rocks :)

Posted by: richard on December 14, 2002 04:07 AM
Post a comment

Email Address:



Remember info?