Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 3: Building Windows Phone 7 Appl... > Introducing the MVVM Pattern

Introducing the MVVM Pattern

In developing the Notepad phone application, you will be using the increasingly popular Model-View-ViewModel (MVVM) pattern. MVVM is a design pattern that provides a clear separation between the UI, the application logic, and the data of an application. The model maintains the data, the view displays the data or provides the UI for user interaction, and the view-model acts as the controller, or brain, which handles the events that affect either the data or the view. Figure 3-3 illustrates the elements of the MVVM pattern and its relationships.

Image

Figure 3-3. The MVVM pattern


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial