10

Your questions on mvvm answered

Embed Size (px)

DESCRIPTION

Join this interactive session and start with a speed course on MVVM pattern, one of the patterns most used for building Silverlight applications. After the introduction, the room is open for questions. So come prepared to pose your most difficult questions and get answers.

Citation preview

Page 1: Your questions on mvvm answered
Page 2: Your questions on mvvm answered

Your Questions on MVVM (Model-View-ViewModel) Answered!

Laurent BugnionSenior User Experience Integratorhttp://blog.galasoft.ch

Page 3: Your questions on mvvm answered

A short tutorial

Model – View – ViewModelWoven into Silverlight / WPF / WP7Some confusion

MVVM is just a patternThe rest are helpers, practices, etc

Page 4: Your questions on mvvm answered

Separation patternsm-v-c

Model View

Controller

Page 5: Your questions on mvvm answered

Separation patternspassive view

Model View

Controller

Page 6: Your questions on mvvm answered

Separation patternspresentation model

Model View

Presentation Model

(ViewModel)

DataBinding

Page 7: Your questions on mvvm answered

Advantages

Testability, Maintainability, Blendability

BlendabilityThe ability to be edited in Expression BlendDifferentiate code in design time and runtimeCreate design time data

Page 8: Your questions on mvvm answered

q&a

Page 9: Your questions on mvvm answered

Topics (proposed)

Doing X in the View from the VMDisplaying user dialogsStarting/Stopping animations

Navigating from the VM

Having more than one instance of the same View

VM to VM communication

Page 10: Your questions on mvvm answered

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to

be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS

PRESENTATION.