[Zope-DB] writing a template to test if the sql worked

Bogdan M. Maryniuck b.maryniuk at forbis.lt
Thu May 6 03:10:25 EDT 2004

On Wed, May 05, 2004 at 11:08:26PM +0200, Dieter Maurer wrote:
> While ZPT is slower than DTML it has less feature bloat and
> is more orthogonal than DTML.
> Therefore, it is easier than DTML.

But when you do really something advanced, you see your ZPT object is fullfilled
lots of <span tal:bla ... /> with omit-tag things. As result, you see your ZPT
template object nor easier to read neither less complex in general.

Second: to get ZPT look good, you need separate your single DTML in dozen of PythonScripts
and several ZPT objects. Does it makes life more easy?

Third: I found in general when you do DTML, this is much less to write.

Other funny thing is: ZPT invented for people to get Zope more easy. Ironically, DTML
still more easy and more simple...

Clue: ZPT and DTML both are OK. The only different where you use it.

Regards, Bogdan M. Maryniuk
Developer. Forbis UAB

More information about the Zope-DB mailing list