[Zope] The new DTML syntax

Phillip J. Eby pje@telecommunity.com
Thu, 05 Aug 1999 13:58:22 -0500


Why not <Z-if>, <Z-var>, etc.?  :)


At 09:13 PM 8/5/99 +0300, Petru Paler wrote:
>On Thu, Aug 05, 1999 at 06:09:48PM +0200, Alexander Staubo wrote:
>
>> Am I the only one who does not take particularly kindly to the new DTML
>> syntax? Well, I guess I might be. :)  Before you bring forth the
>> lynching implements, though, hear me out.
>
>[snip]
>
>> Imho, Cold Fusion's CFML syntax does one notch better than DTML because
>> it only devotes two characters ("CF") to distinguishing Cold Fusion tags
>> from other markup, so you have keywords such as "cfquery", "cfoutput",
>> and so on. Easily recognizable, short, sweet, easy to type. On the other
>> hand, it uses a proprietary syntax for in-place variable insertion (eg.,
>> "#Name#" inserts the variable Name), so it's not all bliss.
>
>   So you suggest using somethig like "dtif" or "dt-if" ?