7. Model-View-ViewModel (MVVM)

MODEL-VIEW-VIEWMODEL IS AN ELEGANT WAY TO SIMPLIFY Silverlight development, making it fast and easy; unfortunately, many developers mistakenly believe it is an incredibly complex pattern. A discrepancy exists because developers can’t seem to agree on what MVVM is, often confusing frameworks that utilize MVVM with the pattern itself. Add to the mix over-engineered and overly complex applications, and you have the ingredients for a controversial soup of opinions about MVVM.

In my experience, the proper use of MVVM makes it easier to build applications, especially when you have larger teams or separate teams of designers and developers. The ability to incorporate unit tests also helps reduce the rate of customer-initiated ...

Get Designing Silverlight Business Applications: Best Practices for Using Silverlight Effectively in the Enterprise 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.