Upload
terry
View
49
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
Citation preview
ASP.NET MVC AND MVPA Comparison of
WHY USE AN ARCHITECTURAL PATTERN?
Separation of Concerns Responsibilities Testability
MODEL – VIEW – *
View Display Information
Controller/Presenter Get data from the Model Send it to View for display
Model Everything else
MODEL – VIEW – CONTROLLER
View
Controller Model
MODEL – VIEW – PRESENTER
Model
View
Presenter
ASP.NET MVP (PASSIVE VIEW)
DEMO
RESOURCES
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/
THANK YOU
Twitter: @leebrandt Email: [email protected] Blog: www.codebucket.org