Re: [PHP Template] <..> or {{..}} - vote?
| From: | Monte Ohrt | Date: | Tue, 22 Feb 2000 16:38:13 +0000 |
| Subject: | Re: [PHP Template] <..> or {{..}} - vote? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-198@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> On Tue, 22 Feb 2000, Teodor Cimpoesu wrote:
> > So, one shot would be {{$var}} (as far as I get it)
> > another one <var $foo>?? (I dunno what you had in mind with <.> tags)
> > another one <php-var foo> (Zope like)
>
> If you read the latest revision of the specification, it mentions that
> there will be a .ini setting called html_delimiters which, when turned
> on, will look for <!--{{ and }}--> as delimiters. Is that satisfactory?
You should allow spaces, like <!-- {{ }} --> to keep the syntax
flexible.
^ ^
I am also partially in favor of being able to use < > as delimiters, I
think designers would like this syntax.
<section blah>
<php-section blah>
The second one is a bit wordier, but easier to recognize the tags.
Monte