Re: [PHP Template] Re: IF conditionals
| From: | Erik Wrenholt | Date: | Mon, 21 Feb 2000 15:14:12 +0000 |
| Subject: | Re: [PHP Template] Re: IF conditionals | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-191@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Well in this company, it seems that the programmer createst he skeleton
template, and the designer simply fills in the HTML around the template
you give them
>
> On Mon, 21 Feb 2000, Erik Wrenholt wrote:
> > Perhaps we should use == instead... this gives us more room in the
> > future if we want to use = as an assignment operator. Although
> > assignments would be icky in a template, it could be useful.
>
> Hmm. Remember that this is for designers, so == is much less intuitive
> than =.
>
> > > > What about supporting an alternative syntax, like:
> > > > eq, ne, lt, gt, lte, gte
> > >
> > > Why?
> >
> > I'm used to using this when comparing strings from perl, so if it's not
> > difficult to add them, it would be used most likely.
>
> Once again, would this help designers?
>
> -Andrei
>
> "Someone clearly thinks that C is a garbage collected language"
> -- Morten Welinder
>
> --
> PHP Template Engine Mailing List
> Current engine specification can be found at:
> http://va.php.net/~andrei/tpl-engine-spec.txt
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net