1 / 8

ASP.NET MVC and MVP

This article explores the differences between ASP.NET MVC and MVP (Model-View-Presenter) architectural patterns, focusing on their approaches to separation of concerns, responsibilities, and testability. It discusses how both patterns manage views, models, and controllers/presenters, emphasizing the impact on application design and maintainability. This comparison helps developers choose the most suitable pattern for their projects based on specific requirements. Learn more about the benefits of using architectural patterns for better software architecture and design.

terry
Télécharger la présentation

ASP.NET MVC and MVP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Comparison of ASP.NET MVC and MVP

  2. Separation of Concerns Responsibilities Testability Why use an architectural pattern?

  3. View • Display Information • Controller/Presenter • Get data from the Model • Send it to View for display • Model • Everything else Model – View – *

  4. Model – View – Controller View Controller Model

  5. Model – View – Presenter View Presenter Model

  6. ASP.NET MVP (passive view) DEMO

  7. Model-View-Presenter http://msdn.microsoft.com/en-us/magazine/cc188690.aspx http://www.pnpguidance.net/Post/UnityIoCDependencyInjectionASPNETModelViewPresenter.aspx Model-View-Controller http://haacked.com/ http://jeffreypalermo.com/ Resources

  8. Twitter: @leebrandt Email: leebrandt@gmail.com Blog: www.codebucket.org Thank You

More Related