9 Jan
2007
9 Jan
'07
7 p.m.
Andreas Jung wrote at 2007-1-8 19:08 +0100:
... The question is: what is easier to learn and to understand - DTML or ZPT? Can you explain the "nonsense" of the _ namespace in DTML to a newbie?
Sure. There is only one caveat: that two positional arguments need to be passed for recursive calls of DTML objects ("None" and "_").
Can you explain the sequence-item magic with all special cases to a newbie?
There is no need. Newbies do not need to know *all* special cases only the most essential ones. The myriads of TALES expression types are almost as bad the "sequence-item" special cases.
ZPT is another approach to generate HTML. It's more logical, easier to learn and read.
This is arguable... -- Dieter