Benefits of Implementing the MVVM Design Pattern

You're no doubt familiar with projects whose views have a lot of code-behind, where that code-behind pushes data into the view. To behave in this fashion, the code needs to have intimate knowledge of the view itself. However, many benefits could be gained by having the view's logic extracted away from the view and into another class. It would then be totally ignorant of the view, and simply act as a provider of data and operations to it. In other words, a better design would result from having a clean separation of concerns between a view's look and its behavior. This is what the MVVM design pattern aims to achieve.

Note Although the implementation will be somewhat different, the MVVM design ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.