Re:Re: [pndev] Q: pnHTML vs Modelixe
| From: | Bertrand DUNOGIER | Date: | Wed, 06 Feb 2002 10:37:52 +0000 |
| Subject: | Re:Re: [pndev] Q: pnHTML vs Modelixe | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2649@lists.php.net to get a copy of this message | ||
>>I agree templates shouldn't contain logic but it is utopia to hink you can
>>separate 100% of the content and layout. Not that the cost at simplyfing or
>>complexifying stuff that shouldn't.
>>
>>What the perfs with the content cache, i heard that modelixe is more
>>efficient than smarty in that regard.
>>
S> You can find a comprative test between several template solutions here :
S> http://www.phpindex.com/news/news_lire.php3?element=866
Yeah, but they also agree that ModeliXe and Smarty are not really
usable (correctly) by non-programmers.
In my opinion, Smarty really gives the opportunity to totally separate
the layout from the code: all the control structures handling data
display are in the template, not in the code. You don't even have a
loop echo... in your PHP code, on real code, and this is what i really
like in Smarty.
About this comparative test, it is said that PHPLib templates are
really faster than Smarty. Indeed. But speaking about programming
method and code organization, i think that smarty is way better.
--
Bertrand mailto:bdunogier@wanadoo.fr
INTERACT
21, rue de Pont Remy
L-2423 Luxembourg mailto:bdunogier@wanadoo.fr