Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

We used a contractor to create the initial version of our site; they used their own MVC-pattern code-generator to create the (ASP.NET / C#) site and customized from there. That was turned over to us two years ago, and we've been working on it since. That's the environment I'm coming into, with little practical MVC experience. Thus I need to grok MVC in general but it seems that every article/tutorial/book I find is either extremely general in nature or very specific to MS ASP.NET MVC.

Can someone here help with examples, a tutorial or walk-through of setting up a basic site using the MVC Pattern without using Microsoft ASP.NET MVC so that I can better understand the concepts and see how they can be applied in real life?

share|improve this question
    
Any article that we point you to is probably going to be framework-specific; i.e. Spring, Rails, etc. The best beginner tutorial on MVC I have seen is the NerdDinner Tutorial; while it is ASP.NET MVC specific, you don't have to know anything about ASP.NET to grok its MVC goodness, and you will be able to understand how it works without writing any code, just by reading the code samples. As you have already surmised, it's difficult to "get" MVC without studying some concrete examples. –  Robert Harvey Aug 11 '11 at 18:57
    
Thanks. I've downloaded NerdDinner (I note it's from the 1.0 book; any thoughts on if it's still suitable if I have ASP.NET MVC 3 installed?) and I'm also checking into both the book that @Brian mentions in his answer and the video at shop.tekpub.com/products/mvc3 –  StevenV Aug 31 '11 at 15:48
    
Everything in the tutorial will still work fine in ASP.NET MVC 3. –  Robert Harvey Aug 31 '11 at 15:51
    
good news, indeed. thanks again. –  StevenV Aug 31 '11 at 15:52
1  
for reference... I had also asked @SHanselman via twitter at the same time about using the 1.0 book with v3; his reply: "not really, the concepts are all there but there's a lot new" and pointed me to the current work-in-progress blog post bit.ly/qHWXkc –  StevenV Aug 31 '11 at 16:57

1 Answer 1

up vote 3 down vote accepted

Model View Controller is a design pattern for separation of concerns; it's difficult to find a middle ground for explaining such a concept, since there isn't an additional step/point between a design pattern and a framework that implements that pattern.

That being said, I think it's helpful to see the concepts played out in multiple implementations side-by-side so that you can understand the concept specific cases without losing the forest for the trees.

I'd highly recommend Ajax in Action (Manning), which--although not expressly about MVC--does an excellent job of laying out several examples of MVC in a couple different server-side situations, as well as in the client-side Javascript.

http://www.amazon.com/Ajax-Action-Dave-Crane/dp/1932394613/ref=sr_1_1?ie=UTF8&qid=1313181118&sr=8-1

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.