In article <A0*****************@newsread1.news.pas.earthlink. net>,
"Don Sutter" <no@way.com> wrote:
I'm looking for "Template" recomendations for PHP 4, like which one is
popular or has the best/most features.
I'm somewhat of a newbie with PHP and bacame interested in templates via
Wrox's Professional PHP. They were using FastTemplate. The FastTemplate
website gave me the impression it was designed around php3 and maybe hasn't
been updated in a while.
I also ran across patTemplate and Smarty.
Opinions?
My opinion is that Smarty rules ... some people think there is too much
'programming'/logic going on in Smarty templates, but I think that as
long as it's logic that is solely concerned with presentation it can be
argued that it belongs in the template.
Some people also dislike the different Smarty syntax, for example:
{foreach from=$array key=key item=value}
instead of
foreach ($array as $key => $value)
But I find that it in fact helps me to keep business logic and template
logic separate.
JP
--
Sorry, <de*****@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.