Let us apply what we have learned thanks to our sample application. To do so, we will first build the adequate structure for the project and then implement the MVVM pattern on it. Instead of just sticking to the structure, the first page of the application (MyBookings
) has been implemented by using a mock data module. In the next chapter, the real RIA Services layer will substitute for the layer mentioned previously.
We have made some changes (refactoring) to adapt to the defined pattern and the structures. Some of the changes are as follows:
Changes in the structure of the solution (which reflects full names, introduces solution folders, and so on)
A new library has been introduced to adapt Silverlight navigation framework to the MVVM pattern (navigation now becomes ViewModel's responsibility)
Floor and room administration windows have been unified in order to take advantage of and show how to edit inline in a
DataGrid