Jump to content
Larry Ullman's Book Forums

Mvc Tutorials


Recommended Posts

Sure. In looking at the first article, some thoughts...

 

- I disagree with the calling the MVC design pattern a "framework". A design pattern is a standardized way of solving a problem using code. A framework is a set of code for rapid development.

 

- Although frameworks normally use a single entry file, like index.php, there's a strong argument that running all requests through a single point of entry is a poor design choice and should be avoided, if possible.

 

- The inconsistency of the case of variables and classes bothers me.

 

Other than that, I think the article and code is generally okay. There are certainly other ways of doing the same thing but I don't have absolute rules against the way things are done there.

 

I'll look at the other tutorial on another day.

Link to comment
Share on other sites

As for the second article, I'll start by saying these two articles just remind me that for a while there everyone wanted to make their own framework! My second thought is it's written for PHP 4, so I don't know how useful the actual code will be, considering the serious changes to objects in PHP 5. My third thought is the article is too long to read and review it!

Link to comment
Share on other sites

 Share

×
×
  • Create New...