section / if / foreach ...

Author Message

Nicolas OTTAVI

Tuesday 06 December 2005 1:02:57 pm

Hi,

In the documentation I read that the {section} template control structure was deprecated. It is suggested to use more common like control structures (e.g if, while; foreach,switch ...).

I think it is great. And It will probably be better in the next versions if more common operators will be used (like '==' instead of eq), but my questions is regarding the performances ? Is there a gain in using if, foreach controls instead of section one ?

Thanks for your answer,
C.

Frederik Holljen

Tuesday 06 December 2005 2:21:27 pm

It should be about the same. Although the syntax is different the functionality is about the same.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.