I am mostly from ASP.Net background with some MVC. I also made a little Silverlight and MVVM, but now I'm going to switch to Winforms, I have very little experience, so I'm wondering how to deal with MVP.
Typical MVP samples show that the presenter sets the view property (through some IView interface), while the specific view places this property value in a text field, for example. Instead of this archaic approach, you can use INotifyPropertyChanged in MVP, and if so, how? A very quick example would be really helpful!
If I were to create a model that implements INotifyPropertyChanged, doesnβt this look like MVVM? (i.e., the host updates the model and through the magic of INotifyPropertyChanged the view is updated). But wherever I read about MVVM and Winforms, people say this is not suitable. What for? My understanding is that you can bind data to almost any control, so that Winforms is missing? I am trying to understand the disadvantages of data binding in Winforms compared to WPF, and why MVVM cannot be used, since it seems easier to implement than MVP.
Thanks in advance Andy.
Andrew Stephens
source share