Forums / Developer / Template system / Comment69138

Author Topic

André R.

Thursday 30 June 2011 9:48:30 am

Comment69138

Template system are to enforce separation between presentation and business logic.
So might be that your are violating that separation, and that is fine for your own project and there are no one stopping you from doing that.

But think large projects with ten-twenty people or more involved and you quickly see issues popping up when people with different skills all the way from designers to programmers create templates to present some data/content. Read up on concepts around MVC and you'll quickly realize that PHP is not a template language for the V in MVC despite numerous claims from some of the core PHP guys that only deal with C and Zend Engine all day and thus views user land code as template code.

Now you hopefully understand why a system like Exponential has to have this kind of separation by default. We plan to allow developers to use php templates in the future when we most likely switch to eZ/Zeta Components Template Engine, but it will never be the default way for the view layer of the system.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom