90 likes | 208 Views
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 – *.
E N D
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 – *
Model – View – Controller View Controller Model
Model – View – Presenter View Presenter Model
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
Twitter: @leebrandt Email: leebrandt@gmail.com Blog: www.codebucket.org Thank You