[Zope] mixing python and DTML is hellish!

Doug McNaught doug@wireboard.com
02 Mar 2002 12:45:53 -0500


Peter Bengtsson <mail@peterbe.com> writes:

> > I don't actually agree with that. I reckon once ZPT starts appearing
> > in more books, you'll
> > see newbie's using it more and understanding it more easily than DTML.
> 
> My empirical experience has been that DTML reminds you of the way PHP,
> ASP, JSP etc. works:
> <input value="<?%= variableName %?>">
> ZPT takes a sligthly different approach.

This is certainly true.

> Secondly, ZPT "code" tends to be a bit longer (in amount of
> characters) and Python advocates don't really like this.

Hmmm, I think if short code was more important than clarity to them
they'd be using Perl.  ;)

-Doug
-- 
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863