[Zope] Page Templates plus scripts vs DTML

Geir Bækholt Geir Bækholt
Tue, 14 Jan 2003 12:11:30 +0100


Hello Crosbie, 

Tuesday, January 14, 2003, 11:50:33 AM, you wrote:

> As a Zope newbie I'm presuming I should take on board what I've read in
> various Zope documentation about DTML being deprecated in favour of
> ZPT+scripts?

DTML is not being deprecated, it is still very useful for stuff like
SQL, plaintext, email-formatting etc...
The thing is, though : You will be very much more productive, and have
*very much* cleaner designs and code with scripts + ZPT for html/xml
applications :)

> It's just that there doesn't seem to be a wealth of examples of how one goes
> about various things using ZPT, whereas there's plenty using DTML.

DTML has been around much longer.. - And *needs* a lot more examples..
More and more people move to ZPTs and you will get good help on the
mailinglists, even if there are not as many howtos yet..

> Don't tell me that I really do have to start using DTML....  do I?

no.. - don't even consider it for HTML/XML.. ZPT+Scripts is the path
of light..
It might be useful for the things i mentioned above, though..


just my *personal* 2 cents.. others may (and will) be of totally
different opinions.. :)


-- 
Geir Bækholt        geir@funcom.com
Tools/HCI-developer
Tools/Billing - Product Operations
Funcom Oslo