ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

For a better development practice what do you prefer MVP or MVC and why ?

user-image
تم إضافة السؤال من قبل Rami Khasawneh , Solutions Architect , Bloomberg BNA
تاريخ النشر: 2013/09/26
Arief Shah
من قبل Arief Shah , Software Developer/Project Manager , Durat

if you are starting 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

Rami Khasawneh
من قبل Rami Khasawneh , Solutions Architect , Bloomberg BNA

As the last paragraphin your reply, key defference between both is complexity. Though MVP is abstracted from MVC it cannot handle complex views. MVP can handle one view per presenter so we can say you can share the view among presenters, where MVC can share controller to multiple views and allowing to display the appropriate view according page behavior.

Thanks for your reply

المزيد من الأسئلة المماثلة