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: