Advertisement

Implementing the Model

  • Ashish Ghoda

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.

Keywords

Work Item Model Folder Event Argument Watch List Local Folder 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Ashish Ghoda 2012

Authors and Affiliations

  • Ashish Ghoda

There are no affiliations available

Personalised recommendations