The model view controller (MVC) is an architectural pattern for software development. It is common to split the user interface away from the data and business logic. the model view controller provides a framework to achieve this. Microsoft's Patterns and Paractices group has developed the MVC controller add on to .NET. More details can be sound on Scott Guthrie's blog.
The MVC pattern got me thinking about how it could be used and I have created a sample to control a wizard based user interface.
Download Part 1 [pdf][c# sample].This covers using MVC with a model to decide upon the page order.
Part 2 is here which takes the simple model and adds a Window's Workflow state machine to define the page order.
Other MVC links:
Scott Guthrie's 4 part MVC sample - Part 1 Part 2 Part 3 Part 4
MSDN Magazine article - March 2008
©Recneps 2011
Disclaimer Contact