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

O'Reilly:
Understanding MVC in PHP
Sep 16, 2005 @ 11:18:42

The O'Reilly Network has a new article posted today that takes a look at the MVC pattern (Model-View-Controller) and how it can be used in PHP.

This article series demonstrates how to build an MVC web framework using PHP 5. This article covers the basics of MVC web frameworks, building the foundation classes for a framework that the other three articles in this series will build.

With the introduction of PHP 5 and its new OOP features developers can now seriously talk about building solid APIs and more complex MVC frameworks for the web in PHP. In this article I assume that you have a solid understanding of object-oriented programming and that you have at least scanned the upcoming changes to the OOP structure of PHP in PHP5.

It's a few pages long and it seems to do a pretty good job of explaining how to implement the pattern, they don't really get into what the MVC pattern is or what kinds of things it's useful for. There's tons of other resources out there to look at, though, so just head on over to everyone's favorite search engine and find a whole list...

tagged:

Link:


Trending Topics: