templates

Christoph Zwerschke cito at online.de
Mon Jan 30 20:48:56 EST 2006


projecktzero wrote:
> I like that there's nearly a complete separation between the
> presentation and the code. This is great when one person is designing
> the pages and another is writing the code to drive those pages.
> ...
> What web templating systems do you use and why?

A plethora of such Python web templating systems exists.

If you really care about separation between code and layout, try 
attribute languages like TAL or Kid.

TAL is used by Zope, but there is also a nice standalone implementation 
called SimpleTAL.

Kid is used by TurboGears and can also be used with Webware for Python. 
I think Kid is a very clever and innovative solution.

http://www.zope.org/Wikis/DevSite/Projects/ZPT/TAL
http://www.owlfish.com/software/simpleTAL/
http://kid.lesscode.org
http://www.turbogears.org
http://www.webwareforpython.org/KidKit/Docs/UsersGuide.html

-- Christoph



More information about the Python-list mailing list