We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byDarrell Tardif
Modified over 2 years ago
USING THE MODEL-VIEW- VIEWMODEL PATTERN Laurent Bugnion Director, User Experience Integration IdentityMine http://[blog|www].galasoft.ch
Page: WHAT IS MVVM? © 2011 IdentityMine Inc. All Rights Reserved.2 A weird acronym –Model – View – ViewModel Woven into WPF / Silverlight / WP7 Some confusion: –MVVM is really just the pattern –The rest are helpers, practices, etc
Page: THE MVC PATTERN © 2011 IdentityMine Inc. All Rights Reserved.3 ModelView Controller
Page: THE PASSIVE VIEW PATTERN © 2011 IdentityMine Inc. All Rights Reserved.4 ModelView Controller
Page: © 2011 IdentityMine Inc. All Rights Reserved.5 THE PRESENTATION MODEL PATTERN ModelView Presentation Model (ViewModel) DataBinding
Page: ADVANTAGES © 2011 IdentityMine Inc. All Rights Reserved.6 Testability, Maintainability, Blendability “The ability to be edited in Blend” –(and Visual Studio designer…) Differentiate code in design and runtime Create design time data
DEMO © 2011 IdentityMine Inc. All Rights Reserved. 7Page: Hello MVVM (and Hi Blend)
Page: BRIDGING THE GAP © 2011 IdentityMine Inc. All Rights Reserved.8 View ViewModel DataBindingCommandsMessages Model
Page: BRIDGING THE GAP © 2011 IdentityMine Inc. All Rights Reserved.9 View ViewModel View ViewModel View ViewModel Messages + callback
Page: COMMANDS © 2011 IdentityMine Inc. All Rights Reserved.10 “Point of entry” for a method Can be data bound ICommand interface –Execute method –CanExecute method –CanExecuteChanged event Not available in WP7 –(but there are ways around that ;)
DEMO © 2011 IdentityMine Inc. All Rights Reserved. 11Page: Commands and RelayCommands Messaging
Page: MVVM LIGHT TOOLKIT © 2011 IdentityMine Inc. All Rights Reserved.12 “Breaking the monotony” http://www.galasoft.ch/mvvm/ http://mvvmlight.codeplex.com V3 released at MIX10 Keep it small Keep it simple
Page: CALIBURN / MICRO © 2011 IdentityMine Inc. All Rights Reserved.13 Rob Eisenberg Convention over configuration http://caliburn.codeplex.com Also available for Windows Phone 7 –Caliburn.Micro
Page: FLAWS OF MVVM © 2011 IdentityMine Inc. All Rights Reserved.14 Too much code needed –INotifyPropertyChanged –Commands Some operations are tricky (set focus, navigation…) Not really applicable to ASP.NET, etc
FURTHER INFORMATION http://blog.galasoft.ch http://www.galasoft.ch/mvvm @LBugnion http://www.galasoft.ch/mvvmvideo1
Laurent Bugnion Senior User Experience Integrator IdentityMine
Understanding the MVVM pattern
DEEP DIVE MVVM Laurent Bugnion Director, UX Integration IdentityMine
WINDOWS PHONE 7.5 “MANGO” ADVANCED Laurent Bugnion Director of UX Integration IdentityMine
Laurent Bugnion Director, UX MVVM Powers Silverlight Development.
A day in the life of an Integrator Laurent Bugnion Senior User Experience Integrator IdentityMine
Real world Windows Phone development Igor
Windows 8 apps and the MVVM pattern SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, October 16 th
Overview of the MVVM pattern for Silverlight and WPF.
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
Windows Phone MVVM and Unit Testing Step by Step Andy Wigley Windows Phone Development MVP, Mobile Software Consultant APPA Mundi Ltd WPH208.
WPF MVVM Training Michael Sync (Silverlight MVP).
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
Model View ViewModel Architecture. MVVM Architecture components.
MVVM Basics with Caliburn.Micro Presented by Stefan Nuxoll, Lithium PC.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
An Introduction to the Model-View-ViewModel Pattern Srsly? Another MV* Pattern? Srsly? Another MV* Pattern?
Igor Ralić igrali.com Open source u razvoju Windows Phone aplikacija.
Nikhil Kothari Software Architect Microsoft Corporation Session Code: WUX312.
Programming with MVVM Miguel A. Castro Architect -
© 2017 SlidePlayer.com Inc. All rights reserved.