HTML Templates (Sitemesh/Tiles concept) in Python

metaperl metaperl at gmail.com
Tue Oct 24 09:43:18 EDT 2006


Suren wrote:


> It seems error prone as well as bad design to scatter this logic in
> each content page. Is there a template logic like Sitemesh or Tiles
> concept that can decorate a desired page just before show time?
>

Suren, you are looking for push-style templating. I list a number of
alternatives here:
http://www.livingcosmos.org/Members/sundevil/software-engineering/push-style-templating-systems/view

I use meld3 personally, but Templess looks pretty good and Webstring
also. Depends on your tastes.




More information about the Python-list mailing list