Chapter 16. Structuring and testing with the MVVM/ViewModel pattern
This chapter covers
- The ViewModel or MVVM pattern
- Creating services for use with MVVM
- Using commands and the CallMethodAction behavior
- Testing using the Silverlight Unit Testing Framework
When the community stops worrying about how to do basic things in a particular technology and starts working out how to do complex things well, you know the technology has reached a point of maturity. The emergence of architectural patterns and testing capabilities for a platform are a good indicator that the technology is ready for real-world use in nontrivial applications.
One of the main patterns to be applied to Silverlight is the Model-View-ViewModel (MVVM) pattern, also known as the ViewModel pattern.