Re: [PHP Template] <..> or {{..}} - vote?
[email protected] (Monte Ohrt) Tue, 22 Feb 2000 10:38:13 -0600
| Newsgroups | php.template |
|---|---|
| Organization | ispi |
| Message-ID | <[email protected]> |
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