DRAG DROP
You are developing a Windows Store app.
You are using the Model-View-ViewModel (MVVM) architectural pattern to design the app.
You need to identify the type of code to place in each layer.
How should you distribute the code? (To answer, drag the appropriate code segments to the
correct locations in the answer area. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Explanation:
Note:
* Model: as in the classic MVC pattern, the model refers to either (a) a domain model which
represents the real state content (an object-oriented approach), or (b) the data access layer
that represents that content (a data-centric approach).
* View: as in the classic MVC pattern, the view refers to all elements displayed by the GUI
such as buttons, labels, and other controls.
* View model: the view model is a “model of the view” meaning it is an abstraction of the
view that also serves in mediating between the view and the model which is the target of the
view data bindings.