Zope vs Php

Mike Meyer mwm at mired.org
Thu Nov 17 22:21:03 EST 2005


Jorge Godoy <godoy at ieee.org> writes:
> Mike Meyer <mwm at mired.org> writes:
>> That said, I have to confess that lately I've been using Cheetah
>> templates, because the syntax for inserting values is simpler, and the
>> way Cheetah templates work naturally in the Python inheritance
>> hierarchy.
> KID is also nice and can be used as he wants and in a cleaner way as well. ;-)

Since you didn't provide a URL, and KID is a pretty generic term to
google for, I'll just ask:

One of the things I really like about Cheetah - at least compared to
other templating systems I've looked at - is that it's fully
cooperative with the Python inheritance sydstem. A cheetah template
can inherit from a python class, or a cheetah template, and a Python
class can inherit from a cheetah template. This brings the full power
of OO programming facilities to the templating system, and is simply
blows away other templating systems, or trying to build that kind of
flexibilty using "pure python". Does KID have have that kind of
facility?

While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.

And finally - got a URL?

    thanks,
    <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list