Forums / General / section / if / foreach ...

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.