I have been using WPF and Xaml for a while, and I like it quite a bit. However, I'm probably still developing things like the days of WinForm with too much code and responsibility in the GUI section.
Anways, in the WPF model, what exactly is the GUI for? If a button is pressed in the graphical interface, should it show a popup and handle any updated values? If there is validation logic, should the missing / invalid fields be checked and updated? Should it handle any event handler logic such as clicks, value changed, etc.?
This list is likely to go on and on. However, I think the main question is, should the GUI only display data from the class and process new data in the class? Everything else, which is almost everything, needs to be decided elsewhere.
source
share