Professional Documents
Culture Documents
Dareen Alhiyari
Senior Consultant
Dareen@Softact.com
Dareen.Alhiyari@gmail.com
What is MVVM
ViewModel
Commands
Binding
View Model
Loosely Coupled
• The View knows the ViewModel but the ViewModel does
not know the View.
• You can very easily replace the View without affecting the
ViewModel.
• This is very useful in Developer/Designer teams where the
Developer improves the ViewModel and the Designer
enhances the View.
User Interaction
MVVM MVC
View
View
* *
1
1
ViewModel Controller
Model
Model
Benefits of MVVM
• Loose coupling
• Testable code
• Maintainable code
Some MVVM Frameworks
Check out this handy tool to compare MVVM frameworks: MVVM Comparison Tool - Silverlight
Dareen Alhiyari
Senior Consultant
Dareen@Softact.com
Dareen.Alhiyari@gmail.com