MVC, MVP And MVVM:
Difference between MVC and MVVM and MVP:
- Use in situations where the connection between the view and the rest of the program is not always available (and you can’t effectively employ MVVM or MVP).
- This clearly describes the situation where a web API is separated from the data sent to the client browsers. Microsoft’s ASP.NET MVC is a great tool for managing such situations and provides a very clear MVC framework.
- Use in situations where binding via a data context is not possible.
- Windows Forms is a perfect example of this. In order to separate the view from the model, a presenter is needed. Since the view cannot directly bind to the presenter, information must be passed to it view an interface (IView).
- Use in situations where binding via a data context is possible. Why? The various IView interfaces for each view are removed which means less code to maintain.