[Twisted-web] Re: Good ROM tool ?

Nicola Larosa nico at tekNico.net
Wed Jan 18 00:49:42 MST 2006


dialtone:
>>> To be honest I'd rather be plagued with termites rather than writing
>>> Cheetah templates. But this is just me.

tekNico:
>> No, me too.

Paul G:
> care to enlighten me, since i have not yet seen the pain? valentino,
> you're very welcome to chime in too. help me save me from myself ;)

Look at this:

http://www.cheetahtemplate.org/examples.html

Sure, Cheetah is cleaner than PSP, but it still mixes syntax elements with
text, and I really dislike it. If I want to generate any kind of text while
keeping Python syntax, I'll use Quixote's PTLs:

http://www.mems-exchange.org/software/quixote/Quixote-2.4.tar.gz/Quixote-2.4/doc/PTL.html

On the other hand, for XHTML templating, I prefer having hooks in
attributes, as Nevow and Zope's ZPT do:

http://divmod.org/trac/browser/trunk/Nevow/examples/table/tablehtml.html

http://zpt.sourceforge.net/

-- 
Nicola Larosa - http://www.tekNico.net/

You asked about my "path to world domination". Well, I guess I want
the whole world to be like the Oberlin CS Lab was: a sharing community
where people assume that improving the system is within anyone's reach.
 -- Karl Fogel, November 2005




More information about the Twisted-web mailing list