Do you find yourself struggling to grasp the concepts of the Model-View-View-Model (MVVM) design pattern? Have you found that you can understand the basics of data binding in WPF and Silverlight, but when you start to read about MVVM you find that you have been dropped off a cliff? Have you looked at some of the XAML frameworks like PRISM only to find that it is just way too complicated for what you need? If this sounds familiar, then don’t worry, you are not alone. Many great programmers struggle with this every day. In my humble opinion I say don’t try to implement a pure MVVM model, just Keep It Simple! Many times the simplest approach is the best.
In this video I will present MVVM step-by-step but not drop you off a cliff. I am not going to take the purist approach to MVVM, but I am going to use the familiar event model in code-behind that you are used to. Yes, you will be using MVVM, but you will do it using a programming model that you are very familiar with.
WPF is used to illustrate the concepts of MVVM in this video, but the concepts can apply to Silverlight and even ASP.NET.
A complete sample program is included with this video.