RE: Smarty and speed
| From: | Brent R. Matzelle | Date: | Sat, 08 Dec 2001 21:01:52 +0000 |
| Subject: | RE: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2214@lists.php.net to get a copy of this message | ||
--- Pablo <phpshop@phpshop.org> wrote:
> To be honest, I still find it hard to make the argument for >
Smarty. A cleaner syntax and built-in caching is nice. But >how do
I convince a team of people to adopt it just because the >syntax is
less terse? There has to be a killer reason... That's >what I cannot
seem to find. :(
The big reason why Smarty, and any templating tool really, is so
effective are the separation of back end PHP code from presentation.
I can use the same back end PHP code to display HTML, XML, WML, etc.
Plus, if you are using strictly HTML then you can use tools such as
Dreamweaver to do rapidly create template pages without messing up
your PHP code.
With Smarty I can allow my graphics and layout designers to fool
around with the program interface without messing up my cleanly coded
PHP. Two people can work on the page at the same time. Even if
Smarty were the slowest tool in the world this flexibility would
still sell me on this product. But the fact is Smarty is lightning
fast, even faster than PHPLIB template, so there is no reason why not
to use it. If the people in your organization cannot see these gains
then that's sad.
Brent
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com