Laurent Bugnion Director, UX Integration @LBugnion [email protected] MVVM Powers...

11
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of Laurent Bugnion Director, UX Integration @LBugnion [email protected] MVVM Powers...

Page 1: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.
Page 2: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

Laurent BugnionDirector, UX Integration

@LBugnionhttp://blog.galasoft.ch

[email protected]

MVVM PowersSilverlight Development

Page 3: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

The MVC pattern

Model View

Controller

Page 4: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

The MVVM pattern

Model View

Presentation Model

(ViewModel)

DataBinding

Page 5: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

Demo• Simple MVVM application• Exploring a more complex

architecture

Page 6: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

ViewModel View

ViewModel View

• Complicates the testing, hard coupling

• Hard to design and tweak

MessageBoxAnimationsNavigation

Page 7: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

ViewModel View

ViewModel View

• Loose coupling, more flexibility

• Behavior is highly Blendable

BehaviourBinding

Page 8: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

Injecting View ServicesViewModel IDialogService

DialogService View

injection

INavigationService

injection

NavigationService

action

Page 9: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

Demo• Using View Services

Page 10: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

http://www.galasoft.ch/mvvmvideo1http://www.galasoft.ch/mvvmvideo2

Twitter: @LBugnionhttp://blog.galasoft.chhttp://www.galasoft.ch/mvvm

Q&A

More info

Page 11: Laurent Bugnion Director, UX Integration @LBugnion  laurent.bugnion@identitymine.com MVVM Powers Silverlight Development.

© 2008 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.