I'm building a WPF application and I know that is strongly recommended to use the MVVM pattern. Anyway I have a "model" class populated from an XML file deserialization, that is going to be immutable and the application works managing this data along all the UIs windows through business logic. My problem is that I can't imagine a right "fitting" of my system into the MVVM pattern, because of the immutability of my data and predominance of logic more than changes.
The main scenario is:
-Load the data from the XML;
-Populate the views starting from logic operations on the data, not on the data itself;
-Repeat.
Aucun commentaire:
Enregistrer un commentaire