2. Overview
What is MVVM
What is Data Binding
Binding
Notifications
Live Demo
3. Motivation for the MVVM
separation of concernsdeveloper-designer workflowincreases application testability
4. What is MVVM ?
View
UI
View Model
Logic
Model
Data objects
Business Logic
Data Binding Notification
5. What is Data Binding ?
Dependency
property
property
OneWay
Two Way
OneWay to source
6. Notifications Interfaces !
View ModelINotifyPropertyChanged
INotifyPropertyChanged
Consists of an event Raised up to notify them when changes happens theView or the Model
7. Binding Interfaces !
ICommand
View View ModelICommand
It consist of two methods [Execute and CanExecute] and an event in order to implement some logic