1 March 2006 View Comments

Simplified PHP MVC Framework

Rasmus Lerdorf has written an article at his blog which shows how to create a simplified PHP MVC framework to create a simple Web 2.0 application. He calls this a “no-framework PHP MVC framework”.

So you want to build the next fancy Web 2.0 site? You’ll need some gear. Most likely in the form of a big complex MVC framework with plenty of layers that abstracts away your database, your HTML, your Javascript and in the end your application itself. If it is a really good framework it will provide a dozen things you’ll never need.

I am obviously not a fan of such frameworks. I like stuff I can understand in an instant. Both because it lets me be productive right away and because 6 months from now when I come back to fix something, again I will only need an instant to figure out what is going on. So, here is my current approach to building rich web applications. The main pieces are:

  • PHP 5
  • Yahoo! User Interface Library
  • JSON

Link: The no-framework PHP MVC framework – Rasmus’ Toys Page

Leave a Reply

blog comments powered by Disqus