any Templating system help
yoram.hekma at aoes.com
Thu Nov 29 15:26:46 CET 2007
On Thu, Nov 29, 2007 at 06:48:10PM +0530, Ravi Kumar wrote:
> I am stuck a little. I am working on a demo site to propose for the my
> company. Using mod_python and several python technologies. But the website
> is simply using publisher handler, i dont want to use any framework such as
> DJango etc.
> so the main idea is, i made many python files which has several defs inside,
> such as index, getList, submitForm etc
> now everything is working nice, means calling them in url. I need a
> templating system now. But not slow and complex. The only things in
> templating system i need is:
> fetching all the names of variables/placeholder in template. (i can then
> call the suitable defs from files and apply the wrapper on it and return to
> main caller)
> setting the values
> Please suggest some ideas.
Well, I personally like Genshi (http://genshi.edgewall.org/), but
offcourse there are others (myghty, cheetah) and I know you can use the
Django templating system apart from the framework (never did this
But personally, when I only need a templating system and nothing more
(for some html-reports for instance) I tend to use genshi.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 196 bytes
Desc: Digital signature
More information about the Python-list