[Zope] The new DTML syntax

Petru Paler ppetru@bv.ro
Thu, 5 Aug 1999 21:13:30 +0300


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" ?

-Petru