|
|
 |
Re: FN-FORUM: Smarty Template Engine
date posted 1st July 2004 15:04
Deborah Causton wrote:
> Smarty Template Engine
>
> Anybody used this, using this? Good, Bad, Worth while?
>
> http://smarty.php.net/
>
> Any comments appreciated.
Used it many moons ago. Wouldn't touch it with a barge pole now.
Whether it's good or not depends on what you need it for. If you have a
website or application which you want to make skinnable (and have noobs
skin without touching actual code) for example, it's a good start but
the problem I found with Smarty was that you had to learn a whole new
syntax for templating (which in itself is a pain) and that it's
remarkably slow thanks to the fact that the developers have just gone
mental with the number of features. If you're looking for a fast,
lightweight, php based templating system (rather than a custom {{tag}}
setup) I'd recommend Savant http://www.phpsavant.com. Used it in a
recent project to great success...
For a little light reading on templating read:
http://www.massassi.com/php/articles/template_engines/
Cheers
George
--
Layer1
http://www.layer1.co.uk
t: 08456 440 798 m: (07801) 945164
|
 |
|