I am trying to speed up using WPF and the Prism framework, which is strongly related to the MVVM pattern. I prepared a lot of different descriptions, examples and discussions on MVVM, and each of them is a little different and a little confused me.
I understand the following:
The MVVM template has 3 parts: -
- Model - classes containing application data / information.
- View - visual elements of the application.
- ViewModel - logical, state and other behavior associated with visual elements. It takes data from the model and provides it (possibly with some data conversion / formatting) so that the view can use it directly.
What I'm not sure about the following:
- Do these 3 parts include in each part of the application? Or could there be parts of the application that are outside of these three parts?
- Is the ViewModel or some other part that is responsible for populating the model?
Thank you in advance
source share