[Zope] ZPT: ready for prime time?

Chris Withers chrisw@nipltd.com
Mon, 25 Jun 2001 09:45:20 +0100


Peter Bengtsson wrote:
> 
> > You're joking right? They're both horrible :-(
> >
> > I'm sure the second one could be made nicer with a bit mroe PythonScript
> usage,
> > if not then I'll stick with DTML, and I'm sure people here can remember
> how much
> > I like DTML ;-)
> 
> Irony? Do you like or dislike DTML?

Dislike in most contexts where its used...

> The syntax in ZPT might _look_ a little bit messier in terms of number of
> characters, but it is easier to _read_ because you must specify everything
> more precisly.

I disagree about it being easier to read. But, I think it's how people choose to
use it. I reckon with careful use, both DTML and ZPT can be nice and easy to
read...

> <dtml-var firstname> isn't very obvious to debug. Where the hell does
> 'firstname' come from?

That's the whole point, and in that sense ZPT is the same AFAIK.

cheers,

Chris