Kris.

I can give you a real world example where that straight MVC with the. pphp
if not breaks, then definetly becomes an ugly mess.
I use Yii framework as my tool, it has some very nice tools for templating
like widgets. Widgets provide a container to put functionalit required by
multiple pages and it contains a controller like code and a template. It
can and most times will use models and other library stuff to do its work.
And all that code is loaded via an autoloader (only templates are loaded
localy in a controller method).

As i see it, i will spend a lot of time figuring out if i need to make a
.php or a .pphp file. After a few days i will just say to my self "f***
this sh**" and just stick with the .php. My coleague will just stick with
.php - he values his time and to him this will be just noise that he
ignores because it gives no real benifit, IDE's and editors will ajust in
time and reformatting a whole project is just a waste of time. Not to
mention frameworks will not follow for a long time because of the BC and
big WTF factor.

Reply via email to