smarty vs php includes

David Ngo <[email protected]> Tue, 05 Apr 2005 09:45:17 -0600
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
At my work I work with a html designer and one other programmer. Both of 
them refuse to learn to use Smarty and keep arguing that we should do 
away with it. My boss's take on it is that Smarty adds complexity with 
little benefit. Their solution is to just do away with the templates and 
instead have php include files with html in them that will act as the 
templates. We also have a proposed solution using xml that can replace 
the caching options that Smarty has built in. I have to come up with a 
few examples where using Smarty is a better solution. Does anyone have 
any extremely convincing examples I can use to change these people's 
minds? All of the examples I have seen on the Smarty site and through 
google are very simplistic examples that could easily be replaced by php 
includes. I do not want to move away from Smarty because I feel it makes 
my code better structured, easy to read, and just forces me to have 
better coding habits. However how do I explain to someone that has never 
used Smarty and refuses to learn it that it is the way to go? I fear 
that if I can't come up with some good examples we will switch to the 
system of using php includes as templates which I do not like at all.

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php