Re: [SMARTY] Re: smarty templates vs. php templates

From: Date: Thu, 07 Apr 2005 12:57:36 +0000
Subject: Re: [SMARTY] Re: smarty templates vs. php templates
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12428@lists.php.net to get a copy of this message
Erich C. Beyrent wrote:
However, I recently started a new job and they use Xtemplate. In speaking with one of the other developers, it appears that their argument for Xtemplate is that it is a pure display layer without any of the logic that Smarty has. Their view is that Smarty fails to fully seperate business logic from the presentation layer. It's like they are saying that any logic in the presentation layer is bad. I really disagree, but I was wondering if others on this list can help me come up with some arguments for my Smarty advocacy program.
You'll find the same schism in the Perl world with HTML::Template vs. Template::Toolkit. The former is a very basic templating utility while the latter is more akin to Smarty. The argument I used in that situation is that you only have to use as much [Template::Toolkit|Smarty] as you think appropriate. But if you every *do* need more powerful features, they're there. But I still lost the argument.

« previous php.smarty.general (#12428) next »