I started out using DTML. I have
since switched to page templates. Now the only place I use DTML is in
ZSQL methods. The Zope Book states the advantages of ZPT clearly http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx
So far I’ve never run in to anything
I did in DTML that I could not do in ZPT. If I were you I’d learn just
enough DTML to use ZSQL methods and concentrate on ZPT. For me the
biggest advantage of ZPT is keeping the programming logic out of the html.
Andy Yates
From:
zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Ian Nunn
Sent: Tuesday, December 07, 2004
8:24 AM
To: Zope
Subject: [Zope] DTML vs ZTP
I'm a third of the way through the Zope Book and understand
the difference as it is written. As you can appreciate, in learning a new
technology, what is missing is the experience that would guide your focus. What
I would like is an idea of how real world developers use these in the following
senses. Do you use one exclusively (in conjunction with Python)? Do you use
primarily one or the other? Do you use both roughly equally? Are there classes
of applications where you have found one is preferred? Your advice would be
welcome.
Best Regards
Ian Nunn