Re: [PHP Template] Re: IF conditionals

[email protected] (Erik Wrenholt) Mon, 21 Feb 2000 09:14:12 -0600
Newsgroups php.template
Organization ispi
Message-ID <[email protected]>
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: [email protected]