CSC/ECE 517 Fall 2007/wiki2/3 rl
Model View Controller
Model/view/controller. There are literally hundreds of pages describing MVC on the Web. If someone wants to learn about it, what should (s)he do? Look at the first few hits in Google? I expect we can do better than that. Write a review of the MVC sites on the Web. Which are best for learning about the concept? Which have the most instructive examples? Which are best for explaining how to use the pattern in Ruby and Java? If you choose this topic, you should be sure to peruse at least several dozen sites.
Reviews of Fabulous Websites
Best Sites for Learning the Model View Controller Concept
- http://java.sun.com/blueprints/patterns/MVC-detailed.html : This is a very brief introduction to the MVC concept, ideal if you are in a hurry :). I really like the illustration they have used, it delimits the responsibilities of the components very well.
- http://ootips.org/mvc-pattern.html : Nicely written introduction however it has ascii-art diagrams.
- http://www.oreillynet.com/onjava/blog/2003/07/new_way_to_learn_mvc_view_a_si.html : The most innovative way to learn about MVC, through a song. Yes you heard it right, I would recommend this to everyone just because of the hilarious lyrics. Enjoy
Best Sites for Model View Controller Examples
- http://www.enode.com/x/markup/tutorial/mvc.html : This is an awesome introduction to the concept. Short, sweet and to the point explained with the help of a contrived spinner example. This site does not give much details but is really good to get you started.
- http://csis.pace.edu/~bergin/mvc/mvcgui.html : This article is written very well. It gives a detailed example of a temperature gauge, complete with source code in Java. I especially like it when the author explains how the components are interconnected, it really helps in understanding the communication between the model view and controller, as introduced in many of the MVC concept websites above.
Best Sites for How to Use the Pattern in Ruby and Java
- http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/app-arch/app-arch5.html : This is the design document for one of the samples that come in built with Java EE. It goes into a lot of detail about how the MVC was used to design this sample.
- http://cristobal.baray.com/indiana/projects/mvc.html : A detailed introduction to the use of MVC with a Java view point which spans several pages, complete with source code. Warning: This site throws many pop ups, so keep your pop up blocker handy.
Sites that Suck
This will be deleted once we're done.... Include sites you've reviewed so we're not double reviewing.
- http://www.site.uottawa.ca:4321/oose/index.html#MVC: Its very brief, more like a bundle of definitions, wont help in any kind of understanding
- http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html : This one started off very well and I was about to put it into a good one for the concept but then it later delves into the details of mvc through a very small talk'y perspective, i dont think i can make much sense of it
- http://www.themolehill.com/index.php/2006/08/14/beginners-guide-starting-with-the-model/ : I was trying to find a ruby introduction to MVC, but this one is more like a introduction to rails.