Introduction to MVVM           In  SilverlightHoneyson Joseph D                                                          http:/facebook.com/honeydev1http:/facebook/honeydev
What is MVVM ?? MVVM is nothing but a Pattern.
 Also known as Presentational Model.
 Model-View-ViewModelpattern is similar to MVC2http:/facebook/honeydev
Let’s see some variations of similar patternsMVC PatternModel View Controller is probably the oldest pattern.
 Still using widely, especially with ASP.NET MVC.3http:/facebook/honeydev
Passive View PatternView is completely Passive.
 The controller has lot of responsibilities.
 Testing a View is very difficult and time consuming.4http:/facebook/honeydev
Presentation Model Pattern(MVVM) Controlleris replaced with ViewModel.
 Viewis more active and pushing information to the Model.
 The interactions is done via Data Binding.5http:/facebook/honeydev
6http:/facebook/honeydev
ModelModel represents the business domain which includes themodel classes used (Customer, Order, etc.), data accesscode and business rules.7http:/facebook/honeydev
View  Viewin MVVM represents the screens that we build.Includes :                  1.XAML files                   2.code-beside files  Responsibilities :                    1.displaying data                    2.collecting data from end users    View isn't responsible for retrieving data, performing any    business rules or validating data8http:/facebook/honeydev

Introduction to MVVM Framework