ASP.NET MVC and MVP

  • Published on
    15-Jan-2016

  • View
    35

  • Download
    0

Embed Size (px)

DESCRIPTION

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 *. - PowerPoint PPT Presentation

Transcript

ASP.NET MVC and MVP

ASP.NET MVC and MVPA Comparison of

Why use an architectural pattern?Separation of ConcernsResponsibilitiesTestabilityModel View *ViewDisplay InformationController/PresenterGet data from the ModelSend it to View for displayModelEverything elseModel View Controller

ViewControllerModelModel View PresenterModelViewPresenter

ASP.NET MVP (passive view)DEMOResourcesModel-View-Presenterhttp://msdn.microsoft.com/en-us/magazine/cc188690.aspxhttp://www.pnpguidance.net/Post/UnityIoCDependencyInjectionASPNETModelViewPresenter.aspx

Model-View-Controllerhttp://haacked.com/http://jeffreypalermo.com/

Thank YouTwitter: @leebrandtEmail: leebrandt@gmail.comBlog: www.codebucket.org