Home > Patterns > MVC and MVVM

MVC and MVVM

May 1st, 2010

Silverlight is making a new pattern MVVM more popular by the day.  At a first glance I thought it was just a different name for the good old MVC pattern. On second look, there are actually quite some differences between these two:

  • In MVC, controller is actively controlling the view
  • MVVM makes view an active participant, more like a presenter
  • In MVVM, ViewModel is passive, while View is active
  1. http://russelleast.wordpress.com/2008/08/09/overview-of-the-modelview-viewmodel-mvvm-pattern-and-data-binding/
  2. http://martinfowler.com/eaaDev/PresentationModel.html
Categories: Patterns Tags:
  1. May 1st, 2010 at 21:28 | #1

    好强的主题

Comments are closed.