skip to the main content area of this page
Patterns and Practices

MVPBundle


MVP Bundle Screencast - WCSF v2.0 Model View Presenter Design Pattern

The MVP Bundle in WCSF v2.0 provides guidance on the Model View Presenter Design Pattern used with and without the Web Client Software Factory. This MVP Bundle Screencast discusses the guidance bundle in-depth by discussing the pros and cons of both MVP quickstart examples, differences between Supervising Controller and Passive View, the advantages of using the guidance package for automation and built-in dependency injection services using ObjectBuilder, the ObjectContainerDataSource Control, new Page and UserControl Base Classes to hide dependency injection, and 3rd party Mock Frameworks and dependency injection tools to help with testing and dependency injection.

Read More

MVP Bundle Could Use Mock Framework and Service Locator Guidance

The MVP Bundle in the Web Client Software Factory v2.0 offers guidance on the Model-View-Presenter Pattern in your asp.net applications. It has a nice overview and comparison of Supervising Controller and Passive View MVP, View-Presenter Communications using delegation and event-based approaches, as well as using mocks for testing. Given this bundle is more focused on educating the customer on the MVP Pattern as opposed to WCSF implementations, I would love to see guidance on the use of Mock Frameworks as opposed to hand coded mocks. Here are some thoughts on the use of Rhino Mocks as well as a Service Locator using the quickstart example in the MVP Bundle.

Read More

MVP Bundle Released in WCSF v2.0

Microsoft Patterns and Practices released the MVP Bundle as part of the Web Client Software Factory ( WCSF ) v2.0. The MVP Bundle provides guidance on how to implement Model-View-Presenter in your applications, explains differences between Passive View and Supervising Controller, discusses the ObjectContainerDataSource Control for helping with Model-View-Presenter, and offers sample unit tests for testing the view. You can find automation for implementing MVP in you ASP.NET Applications in the Composite Web Client Automation Guidance Bundle.

Read More

Topics



Popular Tags



External Topics