Can someone recommend some good resources for learning about MVC in PHP? It doesn't have to be specific to MVC in PHP. In fact, I'm looking for recommendations of materials that focus on the higher level concepts with examples that could port well to any language so even ASP.net books will be tolerated ;-)
Any recommendations for books, websites, blogs, etc would be excellent.
UPDATE: I have reviewed the MVC Learning Resources post but all of the references there seemed to be ASP.net specific. I was hoping to gather suggestions that were broader than a single language.
-
As for MVC, simply google it and you will get a list of demos of MVC. As for a PHP implementation, I am a big fan of CakePHP and they have a solid MVC framework.
From Dimitry Z -
For general MVC, it seems we've got MVC Learning Resources to work with.
Noah Goodrich : Except that all of the posted references are ASP.net specific.From John Fiala -
Here's a hint: MVC and "Front controller" are two separate things, yet a lot of people get them mixed up.
Martin Fowler's book Patterns of Enterprise Application Architecture is a must-read. Not just for this, but it's a splendid book on application design.
From troelskn -
I think this document by Rob Allen, is about the best summary I've seen. You may not be intending to use the Zend Framework, but the principles of what the model files do in comparison to the view files and the controllers is nicely explained with a systematically built example. Once you've worked through this example, the concepts are easy to apply.
From Michelle -
Here is a Stack Over Flow question about MVC Framework that might be a good start.
From Daok -
You might just choose a php mvc framework and implement something in it. Or, even better, implement your own. It's not that difficult to set up a simple front controller type framework. There are a ton of tutorials out there. Doing this you'll end up with something that has just the features that you need and you'll learn a lot in the process.
Noah Goodrich : Thank you. These are exactly the types of links that I'm looking for.From Paul Wicks -
The Symfony documentation has a good explanation of MVC in PHP. It works an example from procedural code up to using the framework, one layer at a time.
From Colonel Sponsz -
This could be a good starting point: MVC in PHP is a tutorial covering the basics of MVC.
From php html
0 comments:
Post a Comment