You are on page 1of 10

SFSLUG

MVVM
MVVM Light Toolkit

Rahul – http://techkn0w.wordpress.com
MVVM
EVOLUTION

MVC – Separation of Concerns


MVP – Controller for Presentation
MVVM – MV P + Infrastructure
MVVM
ADVANTAGES

Separation of Concerns
Testing
Designer support
MVVM
PIECES

M – Data
V - Passive View
VM - Model for View + Logic
Glue – WPF Binding
MVVM
FRAMEWORKS

PRISM (MSFT.P+P)
MVVM Light (Laurent Bugnion)
Caliburn
Garden Variety
MVVM LIGHT
ADVANTAGES

Lightweight + Modular
No special project structure
Templates + tooling
Extensive commanding
MVVM LIGHT
DISADVANTAGES

Messaging spaghetti
Re-entrancy issues
MVVM LIGHT
ARTIFACTS

Project Templates (VS, Blend)


Snippets (VS C#)
Behavior (Blend)
Blendability
MVVM LIGHT
IMPLEMENTATION PIECES

ViewModelBase
Messaging
RelayCommand
MVVM LIGHT
DEMO

Comments
Questions

You might also like