[Zope] Why not ZPT

Thomas Guettler zopestoller@thomas-guettler.de
Thu, 08 Aug 2002 13:49:58 +0200


Maik Jablonski wrote:

> hi,
> 
> Thomas Guettler wrote:
> 
>> After using Zope more than one year I want to
>> share my experiences with you
>>
>> That's what I think:
> 
> 
>> 2. Don't use ZPT, DTML or ZClasses. I spent to much time searching
>>  for the line were the error occured. Since I use python
>>  I no more have theses problems.
> 
> 
> Don't use ZClasses!!! That's true... but why not ZPT & DTML? 


DTML is ugly

ZPT gives you only sometimes the line number where your typo was.

Why learn an other syntax?

The following can be understood by all pyhton programmers:

"""
  <html>
   <head>
    <title>%s</title>
   </head>
   <body>
    <h1>%s</h1>
   </body>
  </html>
""" % (mytitle, myheading)



> Mixing my html-layout into python-code is moving two steps back


Back to the roots

thomas