Re: [PHP3] PHP Template Engine spec revision 0.35

[email protected] (Andrei Zmievski) Wed, 23 Feb 2000 12:18:00 -0600
Newsgroups php.template
Message-ID <[email protected]>
On Wed, 23 Feb 2000, Cynic wrote:
> I'm not a programmer, so this may be totally astray, but I've 
> noticed one thing in your spec. You use '#...#' as a comment 
> delimiter, but you also use '#' at the beggining of constants' 
> names. How is this gonna work?

Good catch! Thanks.

> Also, what if someone wants 
> the template engine to output e. g. '#DOUBLEBRACE', not the 
> resulting '{{', but the actual string. 

Then they wouldn't put it inside the {{ .. }} construct.

> Also, I think it'd be better if the condition 'equals' was '==', 
> not '='. 

It's debatable. Since the templates are supposed to be used by
designers, they may not know that == is equality test.

-Andrei
* George Orwell was an optimist. *