Archive for the ‘MVC’ Category

PHP MVC

Sunday, September 18th, 2005

A couple of buddies and I have been doing some testing and research into Model View Controller frameworks in PHP. In the process, I did the PHP Cake tutorial in which you build a simple blog engine. Cake aims to be the Ruby on Rails of the PHP world and does well. While it is impressive, it’s not quite what we’re looking for. (More on the other app I wrote with Cake later.)

I tried PHP MVC, and I’m not sure if I or the developers should be embarrassed about the fact that I couldn’t get the example app to run (as in, unintelligable error in my logs.) Neither could either of my cohorts.

Long story short, this OnLAMP article tackles MVC in PHP, and begins to build a custom MVC framework, which it looks like me and my co-coders are going to do as well with a new app we’re building - though not exactly the way the author is going about it. Still, timely article with lots of good info.

Understanding MVC in PHP [ON Lamp]