1 / 8

ASP.NET MVC and MVP

A Comparison of. ASP.NET MVC and MVP. Separation of Concerns Responsibilities Testability. Why use an architectural pattern?. View Display Information Controller/Presenter Get data from the Model Send it to View for display Model Everything else. Model – View – *.

terry
Download Presentation

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