[TYPO3-ect] lib/div 1.0 - it's time to say thank you
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Jan 10 18:11:49 CET 2007
Elmar HInz wrote: on 10.01.2007 11:44:
>> Just for the record, I also +1 the usage of Smarty! PHP templates are
>> also ok to some degree.. But come on, TYPO3 templates makes no sense at
>> all when you want to separate business logic from presentation logic.
>> Smarty does that job pretty well.
> Antithesis.
>
> It depends on what you do in the php template. As long as you use the same
> conditions and iterators in a PHP template as you would use them in smarty
> template, there is absolutely no difference for the seperation of logic.
> It's just a different templating language. One of many.
>
> PHP has been a templating language from the very beginning.
Exactly, that's why I also find it better to use PHP as the "templating
engine" than TYPO3 templates. The only drawback of pure PHP is that it
its templating tags are a bit more error prone than smarty. E.g.:
<? if: ?>
<? else: ?>
<? endif; ?>
{if}
{else}
{/if}
other than that I see no reason not to use PHP templates. So I don't see
what you mean with antithesis, as we both seem to have the same opinion? :)
Cheers,
Ernesto
More information about the TYPO3-team-extension-coordination
mailing list