Python Webpages

François Pinard pinard at iro.umontreal.ca
Mon Apr 29 10:19:40 EDT 2002


[Jon Ribbens]

> Can you think of an example where the "extra power" provided by a more
> complicated templating system actually makes something easier to do than
> with jonpy? ;-)

To really reply, one would have to study `jonpy'.  Yet, I got from an earlier
message that `jonpy' does not allow arbitrary Python in the HTML pages.

Like many others, I made my own templating system, but did not overly
publish it as there are so many already.  Surely in my case, I would loose
big if I was not allowed to link Web pages with installed Python modules,
these take care of database access, specialised HTML formatting (that
would only encumber the templating language if it was done there), etc.

In fact, before writing my own, I glanced around to see what was written,
and my overall feeling was that systems were either weakish or over-bloated.
If you nicely marry Python with your templating system, you get an extremely
powerful templating system that is also very simple.  The power _is_ needed.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard





More information about the Python-list mailing list