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

Jacob Santos' Blog:
Patterns for PHP: Page Controller Draft
Sep 08, 2006 @ 12:11:36

To get himself more familiar with the whole MVC scene, Jacob Santos has decided to jump in feet first and work up his own controller class to see how things work.

I've decided it would have been a mockery to PHP developers, if I had taken up writing about MVC, which I still barely know anything about. However, I have been working a little bit with Page Controller Pattern of MVC. I decided I could write what little I do know and let someone with more knowledge fill in the blanks. Helping myself and others in the community.

He looks at the types of page controllers (if blocks, directory, and object methods) and, for each, provides a simple code example (with the exception of the object method) to give a clearer picture of what a controller does.

He also includes an update to the post that points to Cgiapp2 as exactly what he was looking for in his MVC mission.

tagged: page controller draft model view ifblock directory object method page controller draft model view ifblock directory object method

Link:


Trending Topics: