how do i adapt a simple vs complex model

When I started with separated presentation patterns, I always thought that to create a single screen, I ALWAYS had to create a view to display the data, a presenter/controller/viewmodel class to hold the logic and a model class to hold the data. Later, I learned that this was a too rigid way of thinking about…


Implementing the Model View ViewModel pattern

In this third part of my series of blog posts on the ViewModel pattern, I’m going to demonstrate how to implement a simple example of the ViewModel pattern. Not to worry, we’ll dive into more exiting examples later. <Back to intro> <Back to: The difference between MVVM and other Separated presentation patterns> <Next: Adapting a…


the difference between model-view-viewmodel and other separated presentation patterns

This is the second blog post in a series on the Model View ViewModel pattern. Before I’m going to dive into the details of the Model View ViewModel pattern, I thought it is handy to describe the differences and similarities between this pattern and other separated presentation patterns. <Back to the intro> <Next: Implement the…


how do i do… With the Model-View-ViewModel pattern

While building the Composite Application Guidance for WPF and Silverlight (AKA Prism V2), we relied heavily on the Model View ViewModel pattern. But while this pattern is definitely the best thing ever, it took me a while to come to grips with it: First of all, I have a mostly Windows Forms and ASP.Net background….