Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
“My framework is more MVC than *your* framework!”
Mar 07, 2008 @ 14:45:00

Chris Hartjes has posted about a topic, while not new in the PHP community it seems to have resurfaced more lately - how MVC is implemented (or not implemented) in most of the PHP-based Rails-esque frameworks.

This guy [making comments at PHP London] apparently works for the Agavi project. [...] The comments for that [reddit] post are really interesting too, as people take their usual swipes at PHP, and CakePHP, and the Symfony guys come out in droves to talk up Symfony, and on and on it goes. Sadly, this is not a unique occurance on the web.

Chris took a closer look at Agavi to see what made its MVC so special - only to find that it just does it different, but not necessarily "right" (he includes a code example to illustrate). He also quotes Wikipedia's definition of an MVC framework and notes that CakePHP seems to fit it to a tee.

tagged: mvc model view controller framework agavi cakephp

Link:


Trending Topics: