Monday, May 19, 2014

What is the difference between MVC, MVVM & MVP ?

Here we are discuss the difference between this 3 design patterns (MVC MVP & MVVM).


MVC [ Model VIEW CONTROLLER ]


  • MVC contains three layers Model, View, and Controller.
  •  It provides better support for test-driven development (TDD).

MVP [ MODEL VIEW PRESENTERER ]


  • MVP contains three layers Model, View, and Presenter.
  • View and Model are more loosely coupled, providing a clearer separation of concerns.
  • View is responsible for delegating the user input to the Presenter.

MVVM [ MODEL-VIEW-VIEWMODEL ]


  • MVVM pattern is a one of the best solutions to handle such problems for WPF and Silverlight application.
  • When you use MVVM pattern for WPF, Silverlight the view wouldn't have the typical event handlers that's so common in UI code.
  • MVVM provides a clear separation between the UI and application logic.


I hope you like this post. If you have any query or daught please leave your comment or you can contact me by email at mehulpatelk152@gmail.com.

No comments:

Post a Comment