[Zope] dtml-lesson learned... (DTML v ZPT)

Tim Hoffman timhoffman@cams.wa.gov.au
21 Aug 2002 10:06:46 +0800


Hi

I use pagetemplates almost to the exclusion of dtml with only a few
exceptions.

I find with pagetemplates that if you have large chunks of Javascript,
that need to be dynamically modified that pagetemplates requirement to 
validate the page becomes a pain. You get situations within Javascript
where to get the page to compile, you have to do really ugly hacks,
which quickly become even more unreadable than dtml

dtml is also just so much more forgiving if you don't want a page that 
is not html/xml oriented.

So I say keep dtml in you toolbox of tricks

See ya

Tim


On Tue, 2002-08-20 at 20:21, Maik Jablonski wrote:
> hi,
> 
> I've just learned my DTML-lesson... Don't use DTML for any 
> program-logic!!! Not even the small bits...
> 

> 
> maybe: don't use DTML for presentation, use ZPT [I'm not totally 
> convinced of that by now, but especially for Chris W.: maybe I will 
> following your ZPT-church in the near future too...;-)]
>