On Fri, Oct 1, 2010 at 12:46 PM, Moritz Baumann <flamin...@online.de> wrote:

> >
> > http://phptal.org/wiki/doku.php/improvedtales
> > I think the next step would be to work out syntax exactly:
> Hm, that page mentions a lot more than just logical operators. I guess
> that’s
> what the negative feedback was about, not logical operators inside
> tal:condition.
> The main difference between PHPTAl and other template engines is that the
> syntax
> is quite simple and that the templates look "clean". IMHO, function calls
> and an
> equivalent to the ?: operator would add unnecessary complexity to PHPTAL
> and
> spoil exactly what makes PHPTAL unique and great. Support for logical
> operators
> inside tal:condition, on the other hand, would make the php: modifier more
> or
> less unnecessary.

Moritz, the additions wouldn't prevent anybody from using what you call
clean syntax, but they would give more power to those who want it.
PHPTAL mailing list

Reply via email to