Geeks With Blogs

@cnrussell
  • cnrussell wrote a post on my blog about my friend Ursula Eilers (Microsoft MVP, Office System) - Office expert about 1681 days ago
  • cnrussell went to "The MSDN Southern Fried Roadshow" in Atlanta, GA on Dec 08, 2009. Cool stuff! about 1684 days ago
  • cnrussell went to "The MSDN Southern Fried Roadshow" is a developer/architect training through the southeast on Dec 08, 2009 Atlanta. Cool stuff! about 1684 days ago
  • cnrussell Community Credit submission approved. I earned points toward a geeky prize becuase I contributed to the development community on web. about 1684 days ago

News


Catherine Russell Architect, President of "Women In Information Technology" Group
Technorati Tags:

WPF patterns : MVC, MVP or MVVM or…?
What to use? Model-view-controler, the model-view-presenter or the new paradigm called model-view-viewmodel?

MVC is kind of template and also a framework that can be used in VS 2005 and VS 2008.
MVVM is a part of WPF which can be used to create windows apps.

It's common practice to let the UI layer do more than it should. Without a clear separation of responsibilities, the UI layer can often become a catch-all for logic that really belongs in other layers of the application. The Model View Presenter (MVP) pattern is solving this problem. 
The code in the UI layer of an application is very difficult to test without either running the application manually or maintaining UI runner scripts that automate the execution of UI components.  The MVP design pattern makes it much easier to factor logic and code out of the UI layer for more streamlined, reusable code that's easier to test.

To read more about it, check the links:
http://www.orbifold.net/default/?p=550

Simple Example of MVC (Model View Controller) Design Pattern for Abstraction
http://www.codeproject.com/KB/tips/ModelViewController.aspx

Model View Presenter by Jean-Paul Boodhoo http://msdn.microsoft.com/en-us/magazine/cc188690.aspx

Posted on Friday, December 11, 2009 3:17 PM Blogs | Back to top


Comments on this post: What to use? WPF patterns : MVC, MVP or MVVM or…?

# re: What to use? WPF patterns : MVC, MVP or MVVM or…?
Requesting Gravatar...
So, what to use then? I see no reponse in this article
Left by Ladybug on Dec 17, 2009 10:05 AM

Your comment:
 (will show your gravatar)
 


Copyright © CatherineRussell | Powered by: GeeksWithBlogs.net | Join free