Hello. Well, I have been wondering for a long time now : what are the pros and the cons of using smarty template over just regular php ?
I mean, php is a langage I know. (or partially know). The whole module is written in php. But. For. Templates. People use smarty.
That's basically another langage, and as it has to be parsed by some php function, I can't believe it's fast.
I'm not against it, I'm just trying to understand why smarty is recommended for templates.
If someone can bring light to the darkness of my puzzlement...
Thanks in advance.
--
Redwarp
[SOLVED] Smarty or not smarty ? That is the question...
[SOLVED] Smarty or not smarty ? That is the question...
Last edited by redwarp on Sat May 15, 2010 7:55 pm, edited 1 time in total.
Re: Smarty or not smarty ? That is the question...
I guess Smarty gives you the answer: http://www.smarty.net/whyuse.php
Re: Smarty or not smarty ? That is the question...
Good answer ! nice 

Re: [SOLVED] Smarty or not smarty ? That is the question...
Jos, Very nice link, thanks...