Abstract
When I started writing this book, I took some time before determining the current order of chapters 2 , 3 and 4 . There is always a great debate for MVVM implementation about what you design and implement first; Model, View or ViewModel? Theoretically if you look at the core of the Model-View-ViewModel design pattern, ViewModel is at the heart of the design implementation. It ties one or more Views (user interface) with the Model (your data source) by exposing properties on the Model objects and binding it to the Views. This would enable displaying the data as information as part of the application user interface. After giving it a lot of thought, I settled on the current sequence of the chapters, in which we first defined Views in the previous chapter, giving you a visual context; now we will define a lightweight model that determines the data source and required properties; and finally, in next chapter, we will implement ViewModels which will bind the model objects to the Views.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Ashish Ghoda
About this chapter
Cite this chapter
Ghoda, A. (2012). Implementing the Model. In: Windows 8 MVVM Patterns Revealed. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4909-2_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4909-2_3
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4908-5
Online ISBN: 978-1-4302-4909-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)