Download presentation
Presentation is loading. Please wait.
1
Practical MVVM Joel Cochran
2
About Me Expression Blend MVP INETA Community Champion
MCTS (WinForms & WPF)
3
Announcing Blend SIG Virtual User Group
2nd Wednesday of each month, 2pm EST Videos: Presenters are deep Blend Experts Coming soon:
4
My Book! A developer’s guide MEAP available now Published Fall 2011
Published Fall 2011
5
MVVM: Practical Magic? Model, View, ViewModel
Similar to other MVx patterns Big exception: 2 way communications between View and ViewModel Allows true separation of concerns Supports DataBinding No Code Behind
6
MVVM Parts: Model The Data Data Services XML Files
ADO.NET, LinqToSQL, EF Consumed by ViewModel(s) Unaware of View and ViewModel
7
MVVM Parts: View The Screen UI and UX
Visual Representation of the Data WPF, Silverlight, WP7 Populated by ViewModel(s) Unaware of the Model Technically unaware of the ViewModel
8
MVVM Parts: ViewModel The Master & The Middleman Communications
Management Data formatting Action items Unaware of View
9
MVVM Parts: ViewModel Model Model Data Source Model Entities
Data Access Service ViewModel ViewModel Code Behind View ViewModel Code Behind View ViewModel Code Behind View Data Binding View
10
The Practical MVVM Manifesto
Must be simple and discoverable Must support Blend Must provide design time data Must be testable
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.