MVVM Pattern for Silverlight



More patterns:


  • 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.


  • 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?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s