News for hackers. Stuff that matters.
Re:Rails is not MVC by zzzeek on Sunday September 25, 2011 @02:50PM (#3036440)
the "controller" in MVC is specifically tasked with responding to user input and persisting those changes into the model. So it's nothing like a database view either, which is traditionally read-only. Like a database view, a template organizes information from disparate sources into a particular presentational configuration - just at different levels of the stack. IMHO they are roughly analogous.
Re:Rails is not MVC by endtime on Sunday September 25, 2011 @03:12PM (#3036494)
It's different, but it's not "nothing like it". I was explaining where the term comes from, since you didn't seem to know.
Re:Rails is not MVC by zzzeek on Sunday September 25, 2011 @05:29PM (#3036786)
I'm familiar with database views, thanks.

Wikipedia credits Trygve Reenskaug with inventing the term "model-view-controller", he was a Smalltalk guy with Xerox at that time - I don't think there's any relation in the origin of that terminology to the notion of a "database view" - otherwise not sure what you're referring to here (here's a link to the original paper: http://st-www.cs.illinois.edu/users/smarch/st-docs/mvc.html)