December 5, 2004
I've been having an interesting conversion with Will Spurgeon as he's coming to terms with MVC. Will's done his research - which always impresses me - and in one email, he sent me a bunch of links, mostly on the c2 wiki, which discuss the history of MVC (it originated in Smalltalk) and its bastardization over the years into what we typically call MVC today (since most of us aren't Smalltalk programmers). I'm not going to re-hash the discussion, other than to note that the Smalltalk vision of MVC was notable for two things: the controller was simpler than we're used to today; there was typically a controller for each (complex) view.
Anyway, here's the list of links he sent me - read them through in order and see what you think. I hope it will increase your understanding of MVC:
I the observation that there are really two models at play here is very telling: the underlying model and an inspector-like application model that overlays the basic model.
Comments
thanks for posting that Sean, I've been looking round for a decent pile of reading matter to get my head around all the terms i'm hearing/seeing thrown around - just what i needed.
Now, if you could recommend 1 single book to get you r head round the subject, what would it be?
Posted By johnb / Posted At
12/6/04 3:30 AM
Sean -
I would like to view the pages, but I'm not allowed access.
TIA, Pat
this is the message ==
Forbidden You don't have permission to access /cgi/wiki on this server.
Posted By Patrick Whittingham / Posted At
12/6/04 9:55 AM
John, I couldn't name just one book. Just read everything you can find. Start with the recommendations in my bookstore:
http://www.corfield.org/bookstore/
Patrick, no idea why you're getting that error. All those links work just fine for me.
Posted By Sean Corfield / Posted At
12/6/04 12:20 PM
I saw the same error Patrick received, but all is OK now. It appears to have just been a glitch on the server. Roger
Posted By Roger / Posted At
12/6/04 1:14 PM
yep... it works fine for me now...thanks Roger for the heads-up.
Pat
Posted By Patrick Whittingham / Posted At
12/6/04 1:19 PM
Sites going down after a posting on corfield.org? Looks to me like sites might be getting "corfielded" in the same way that they get "slashdotted"... :)
The road to understanding MVC is long and hard. I won't pretend I'm an expert, but I've come a long way over the years, and the benefits are many. The more you try to acheive good MVC separation, the more you understand it as a philosophy, and find yourself "feeling" when a design is good or bad from an MVC perspective.
- max
Posted By Maxim Porges / Posted At
12/7/04 8:38 PM
I first learned MVC with Smalltalk at Xerox PARC where the instructor sang "Model-View-Controller" to the tune of "Some Enchanted Evening". I don't think it's really all that hard: the view we all understand and the controller just links the view to the model. It's the domain model that should occupy most of our interest: this is where we can get the biggest bang for our architectural buck.
Posted By Hal Helms / Posted At
12/7/04 9:12 PM
Post Your Comments
Hosting provided by