Author Topic

Bertrand Dunogier

Tuesday 01 June 2010 6:27:25 am

Comment59401

Well, what you'll find if you google for php templates:

  • PHP is a templating language
  • I don't wanna learn yet another language
  • templates are slow
  • There should be no logic in templates
  • ...

Validity is flexible, but you can't just ditch these. In my view, a template engine is what controls the display logic, therefore control structures etc are mandatory. It also allows for more control, but this is a topic that will never get a clear and final response :)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier