50
50
27 days ago
I am struggling with this a bit myself. From what I've read (not tried it yet) the impetus behind MVP was to "smarten up" the view. I believe in a pure MVC patten, we wouldn't want to take advantage of things on the client side like Data Binding or any type of data entry validation. With MVP, you get to use more of the richness provided by the platform.
I'd love to hear how you end up tackling this issue. I did find one website (don't have the link handy) that talked about using MVC / MVP in a WinForms world.
50
50
2 days ago
Nirajan Singh has given a pretty decent reply, so rather than adding anything I will just present my viewpoint.
For WinForm app MVP is a better choice, especially considering testability.
Well as far as intelligent view is concerned, I will partially agree, as it's an open debate that where to put most of the logic. And considering testability, i think heavy presenter would be a better choice, but that's the opinion I favor.
( By the way a point I would like to discus about -- using especially two way binding with databound controls causes violation of MVP. What do you think ??? (No MVVM reference please which many may give ;), just purely in the context of MVP Vs MVC)
Because I think it's more like MVC. )