Chris Koenig Senior Developer Evangelist Microsoft Corporation MVVM in Windows Phone 7
MVVM – In a nutshell 2 “…building UIs that utilize platform enhancements in WPF and Silverlight to provide good separation between UI and business logic in order to make those UIs easier to maintain by developers and designers.” - Glenn Block
Key elements of MVVM 3
MVVM toolkits for WP7 4 View Model ViewModel HomegrownShips with template MVVM Lighthttp://mvvmlight.codeplex.com NRoutehttp://nroute.codeplex.com Caliburnhttp://caliburn.codeplex.com Messages Data Binding Commands
Relay Command Used to send messages from the View to the ViewModel Bind actions on View to Commands on ViewModel Based on the familiar Command pattern ICommand Command Parameters CanExecute Attached Properties 7
EventToCommand Blend Behavior for wiring up RelayCommands 8
Please read (hidden slide) This template is designed for use with Office PowerPoint 2007 and 2010. The charts and graphics can be edited with PowerPoint 2007 and 2010, but not with PowerPoint 2003. This template uses Microsoft’s corporate font, Segoe Light. Segoe is not a standard font included with Windows, so it has been embedded in this template. For Live Meeting situation, please use Segoe Regular More resources: Learn how to use this PowerPoint template by referring to the Windows Phone 7 Guidelines. Find more pre-designed layouts by referring to the Windows Phone 7 Additional Layouts.