Author: Brad Abrams | Posted on: 9/7/2009 6:22:59 PM | Views : 1000

ViewModel (or Model-View-ViewModel) is an emerging pattern in the WPF, Silverlight space which enables a separation of concerns similar to that of the MVC pattern that is popular on for stateless web apps today (for example: ASP.NET MVC).  John Gossman was the first one I heard talk about the pattern from his days working on Expression Blend .  Of course, this was is simply an application of Martin Fowler?s Presentation Model pattern.  In this example, I will take our ever popular SuperEmployees application and re-write it with the ViewModel pattern.   As with any emerging patterns, there are lots of variations, all with their strengths and weaknesses.. I have picked an approach that I felt was best as an introduction...(read more) Go to the complete details ...