|Subject:||Re: [Dolibarr-dev] Smarty 3|
|Date:||Tue, 05 Jul 2011 13:55:53 +0200|
|User-agent:||Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:18.104.22.168) Gecko/20110616 Thunderbird/3.1.11|
I worked onto php template onto another project. I can't tell use smarty or not, but this some feedback about this other project.
Régis as right, php is already a template system and the fastest.
But memory and speed aren't a reason to use smarty.
Smarty is a really good tool if a webdesigner has to work on template.
Webdesigner hasn't have to know php and he can't break an application with Smarty. He can with php.
If a webdesigner has to work onto Dolibarr template, Smarty is a good tool.
If not, just do the fastest !
I've added Smarty onto a new version of an old project, it was a bad experience.
Smarty can be easily added onto a new project, but onto an old one, with specific logic, it was really difficult ...
Take care, adding Smarty to Dolibarr may be not so easy.
Le 05/07/2011 11:57, Régis Houssin a écrit :
php is natively a template generator, it consumes less memory than the third generator and it avoids adding a layer, this coupled with an opcode cache (APC, eAccelerator) it is better than smarty. http://www.raintpl.com/PHP-Template-Engines-Speed-Test/ Le 05/07/11 11:25, Juanjo Menent a écrit :What are the reasons (about smarty 3)? They have improved the speed and security, and would be good to improve the design (could attract more designers...) El mar, 05-07-2011 a las 10:17 +0200, Régis Houssin escribió:Dolibarr not use smarty, this library is deprecated Le Tue Jul 5 09:11:37 2011, Juanjo Menent a écrit :Hi, Smarty 3 brings many improvements over smarty 2. It would be good idea to update the smarty includes to smarty 3? _______________________________________________ Dolibarr-dev mailing list address@hidden <mailto:address@hidden> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev-- Cordialement, _______________________________________________ Dolibarr-dev mailing list address@hidden <mailto:address@hidden> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev_______________________________________________ Dolibarr-dev mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/dolibarr-devCordialement,_______________________________________________ Dolibarr-dev mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
|[Prev in Thread]||Current Thread||[Next in Thread]|