[Zope] ZPT: ready for prime time?
Peter Bengtsson
mail@peterbe.com
Fri, 22 Jun 2001 11:42:46 +0200
They can be used in a WYSIWYG editor fine. Much better than DTML can.
The editing advantage of ZPT comes third on my list of importance of ZPT.
1) More clear. No mix of namespaces makes coding stricter and easier to
maintain
2) Forces valid XHTML. With DTML you seldomly get a clear picture of your
<span> and <table> tags. In our environment the skill level varies greatly
and novice users tend to bombard it with invalid HTML and hence
undisplayable in Opera or Netscape
Peter
----- Original Message -----
From: "Joachim Werner" <joe@iuveno-net.de>
To: "Peter Bengtsson" <mail@peterbe.com>; <zope@zope.org>
Sent: Friday, June 22, 2001 11:13 AM
Subject: Re: [Zope] ZPT: ready for prime time?
> > We don't use standard_html_header or anything like that.
> > Our components are very modular and I am not even involved in what the
> > "data" code does. I'm just producing ZPT templates and someone else
picks
> > them up. It just happens.
> > My ZPT templates don't have <html> tags. Mostly just a little table.
> > Therefore I can't really open them in GoLive like you're supposed to be
> able
> > to do. Note! the Dreamweaver/GoLive thing is just a little bonus you
get.
>
> That sound exactly like what we are doing now with DTML.
>
> Some questions:
>
> - If you can't use a WYSIWYG editor with your templates, why exactly are
you
> using ZPT?
> - What are the advantages? Better syntax? Better performance?
>
> Joachim
>