Author Topic

Maxime Thomas

Friday 09 May 2008 2:07:52 am

Comment49497

Hi,

The main point of the Template engine is to provide an abstract layer between your language (PHP) and the view (~HTML). It's useful to help separating the view from the controler in an MVC despign pattern.
So if you put PHP in your templates, you are breaking the abstract layer and by this way the MVC pattern.

Cheers.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas