Skip to main content
  • 795 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 14.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 19.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics