1 / 13

XAML Deep Dive for Windows & Windows Phone Apps Jump Start

Jaime Rodriguez | Microsoft Principal Technical Evangelist Laurent Bugnion | IdentityMine Senior Director. XAML Deep Dive for Windows & Windows Phone Apps Jump Start. Course Topics. Module 6 | MVVM. the mvvm pattern. From MVC. Model. View. Controller. To MVVM. Databinding. Model.

ginny
Download Presentation

XAML Deep Dive for Windows & Windows Phone Apps Jump Start

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Jaime Rodriguez | Microsoft Principal Technical Evangelist Laurent Bugnion | IdentityMine Senior Director XAML Deep Dive for Windows & Windows Phone Apps Jump Start

  2. Course Topics

  3. Module 6 | MVVM

  4. themvvmpattern

  5. From MVC Model View Controller

  6. To MVVM Databinding Model View Databinding Presentation Model (ViewModel)

  7. The relationships View DataBinding Commands Services Messages ViewModel Model

  8. Commands • “Point of entry” for a method • Can be data bound • ICommand interface • Execute method • CanExecute method • CanExecuteChanged event

  9. Implementing commands It’s quite a lot of work Most toolkits and frameworks have a “relay” implementation RelayCommand (MVVM Light) DelegateCommand (PRISM) …

  10. MVVM demo

  11. MVVM Light Toolkit “Breaking the monotony” http://www.galasoft.ch/mvvm/ http://mvvmlight.codeplex.com Keep it small Keep it simple

  12. MVVM Light Toolkit RelayCommand Messenger ViewModelBase DispatcherHelper SimpleIoc EventToCommand Project templates Item templates Code snippets

More Related