Forums / Developer / Php code against template language / Comment50762
Damien Pobel
Thursday 26 February 2009 1:55:00 am
Hi,
The template compiler doesn't understand what you try to do, it simply applies general rules so the generated code is far from being optimized and the generated code is ugly (see files in var/something/cache/template/compiled).If you write your own code you will probably try to make it as simple as possible which is often faster.
Cheers
Damien Planet eZ Publish.fr : http://www.planet-ezpublish.fr Certification : http://auth.ez.no/certification/verify/372448 Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish