[SOLVED] Smarty or not smarty ? That is the question...
Posted: Sat May 15, 2010 9:59 am
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
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