Vincent Leung's .NET Tech Clips

The latest tech clips from the .NET community

MVVM Pattern for Silverlight


MVVM

 

More patterns:

MVC

  • Developing a Casual Game with Silverlight 2 This example shows a classic MVC behavior. View is responsible to create the controller. Actions from view is deligated to the controller. Model notify view on changes and view is responsible for updating itself.


MVP

  • MVC# This one is similar to the previous example. It has a mini dependency injection container called TasksManager to group options together.

 

So when evaluating a pattern, it is really important to at details such as:

  1. How are view and controller conntected?
  2. How an user action from the view is sent to controller?
  3. Who is responsible for updating the view?

February 13, 2009 - Posted by Vincent Leung | MVVM | | No Comments Yet

No comments yet.

Leave a comment