Re: [SMARTY] Why Smarty (also performances?)?
| From: | Abdul-Wahid Paterson | Date: | Sat, 02 Apr 2005 14:02:27 +0000 |
| Subject: | Re: [SMARTY] Why Smarty (also performances?)? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12387@lists.php.net to get a copy of this message | ||
Hi guys,
I have been using Smarty for quite a while now and on quite a few
different sites and have no particular problems, I find the templates
are easy to use, quick for designers to understand and flexible enough
to allow me to build advanced functions.
One of my sites has about 150,000 lines of PHP code with about 200
smarty templates. It heavily uses caching and the performance and
maintainability are good.
I also have many pages that have multiple outputs, HTML, XML, Printer
friendly, text only and 'email to friend'. Using smarty i have managed
to keep the PHP code separated and it allows me to play with different
formats for the data without changing the business logic of how the
data is generated.
Also, some of my site's users can have their own themes, which allows
them to generate their own design and display the data in their own
way. The number of smarty templates available for any one particular
'page' could therefore be huge.
In short, doing this without Smarty would have been difficult, and
from looking at some of the other templating engines available or the
thought of creating my own PHP based one, just would have caused to
much work and introduced too many extra problems.
In short, I am happy and impressed by smarty. :)
Regards,
Abdul-Wahid