[Zope] ZPT: ready for prime time?

Peter Bengtsson mail@peterbe.com
Fri, 22 Jun 2001 10:27:01 +0200


>     in flux, probably unstable     stable, we know its
strengthes/weaknesses
>     maybe, missing features
>     (e.g. batching)

This is what the ZTUtils are for. Batching already exists. Here's one
example:
http://www.zope.org/Members/peterbe/DTML2ZPT/#example4

>
> What are your experiences?
> What do you think?

ZPT are wicked! They "force" novice web developpers to produce valid
Netscapable HTML and it is very "powerful" in that you can do many things.
If the HTML can't be saved you'll have to ask the HTML coders to try harder,
and the ZPT actually fixes bad HTML for you.
http://www.zope.org/Members/peterbe/tidyhtml

With ZPT you're forced to know where things are coming from before you call
them.
<dtml-var name> can be written in TAL in 5 different ways depending on where
'name' comes from. This makes it easier to debug ZPT afterwards.

The list of Proposed Changes is pretty scary though
http://www.zope.org/Wikis/DevSite/Projects/ZPT/ProposedChanges
It feels like trying to ride a horse that doesn't stop, and will not stop
for a while.

Yeah, do it!
ZPT will learn from the misstakes of DTML which is good.
It smells kind of like Perl vs. Python here.

Peter

> Dieter
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )