Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which design patteren is better MVC or MVP in web application development? and why?

user-image
Question added by Tarek Adel Ahmed Abdalla, PMP, MIBA , Director of software Manufacturing , Emaratech
Date Posted: 2013/10/28
Houssem Gharsallah
by Houssem Gharsallah , Software Architect , NOMD Technologies

MVP is an advanced version and upgrade of MVC. As far as which is the best, I think MVP is better. 

Why ? Because it ensures a proper decoupling between the view and the model unlike MVC where the view has a direct access to the model.

The decoupling facilitates testing and updating your solution.

In MVP, to get or post data, the view must call the presenter which will do all the work on the model and send back results to the view (if results are required). Thus you get a more coherent application architecture and easy to debug

Arief Shah
by Arief Shah , Software Developer/Project Manager , Durat

if you start a new project, then ASP.net MVC is a better choice. But if you just want to refactor an existing project then MVP is the option because there is no easy way to convert those web-forms codes to MVC.

 

Hope this helps if so please like the answer

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.