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

Reinhold Weber's Blog:
MVC anatomy for PHP developers
Jul 28, 2009 @ 11:41:20

Reinhold Weber recently posted what he calls a "simplified approach to explaining MVC [...] to novice programmers" in this recent post to his blog.

Most MVC tutorials require advanced OOP knowledge or that you are familiar with a full-stack framework. The problem with this approach is the target audience they were intended for. Explaining a design pattern to system architects is preaching to the choir.

He targets those just stepping out into PHP and wanting to find out a better way to structure their code than classes and templates all over the place. He explains what MVC is, why you'd want to use it and includes some basic code to illustrate how it could flow in a simple application.

tagged: mvc introduction oop framework