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.

Is there a resource or site which illustrates building the same application (desktop or web) using several different contrasting architectures? Such as MVP versus MVVM versus MVC, etc. It would be very helpful to see how they look side-by-side using real-world code instead of comparing written theory to written theory.

I've often found that something can be described well in a book, but when you go to implement it, the subtleties and weaknesses of the theory become readily apparent.

share|improve this question
2  
An architecture is not the implementation. Implementation will always uncover details not covered by the architecture; you can't escape that. –  Aaron McIver Jan 10 '11 at 21:39
    
You should not have to look far to see example of projects that had no architecture. Those are the ones to fear! –  Hogan Jan 10 '11 at 21:44
    
@Aaron - Understood; I know there will always be that gap between theory and reality. But seeing realities will help me understand better how each theory plays out, and which may be a better fit for what I'm planning to build. –  Lane Jan 10 '11 at 21:49
    
The topic was covered in-depth in amazon.com/Professional-Java-Interfaces-Mauro-Marinilli/dp/… as far as I remember, you might find it interesting. –  mlvljr Jan 10 '11 at 22:46

1 Answer 1

up vote 0 down vote accepted

The caveat with this approach is that certain frameworks lend themselves to a given architecture. WPF and SL for instance lend themselves to an MVVM pattern due to the binding nature of the technologies.

Since no specific technology was mentioned you could take a look at this thesis which attempts to compare/contrast MVC/MVP/MVVM using Silverlight.

EDIT:

I know you don't want theory but this blog post is beneficial in understanding the differences across the above mentioned architectures...MVC/MVP/MVVM.

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.