WP7 + MVVMWilliam Brander    @WilliamBZAhttp://www.WilliamB.Netwilliam@williamb.net
Design Patterns like a baws     Model                View             Controller
MVC/P is cool, but…• What about separate model  objects?• How do objects  communicate?• Hard to test – tightly coupled!
Naïve MVVMModel        ViewModel            ViewModel           Controller
Cool. Or is it?• More testable• Can combine multiple objects into  one• But all we’ve done is aggregate our  model
A Better MVVM                        ViewDataBinding                 Commands                               Messaging     ...
Caliburn.Micro• Dependency Injection• Messaging• Commanding
MVVM Frameworks•   Roll your own•   Caliburn.Micro•   MVVM Light•   Atomic MVVM
Questions?William Brander    @WilliamBZAhttp://www.WilliamB.Netwilliam@williamb.net
Upcoming SlideShare
Loading in …5
×

Wp7 + mvvm

642 views
594 views

Published on

A very demo-heavy talk about using MVVM in WP7 projects. Slides don't really cover much.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
642
On SlideShare
0
From Embeds
0
Number of Embeds
160
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Wp7 + mvvm

  1. 1. WP7 + MVVMWilliam Brander @WilliamBZAhttp://www.WilliamB.Netwilliam@williamb.net
  2. 2. Design Patterns like a baws Model View Controller
  3. 3. MVC/P is cool, but…• What about separate model objects?• How do objects communicate?• Hard to test – tightly coupled!
  4. 4. Naïve MVVMModel ViewModel ViewModel Controller
  5. 5. Cool. Or is it?• More testable• Can combine multiple objects into one• But all we’ve done is aggregate our model
  6. 6. A Better MVVM ViewDataBinding Commands Messaging ViewModel Controller Models
  7. 7. Caliburn.Micro• Dependency Injection• Messaging• Commanding
  8. 8. MVVM Frameworks• Roll your own• Caliburn.Micro• MVVM Light• Atomic MVVM
  9. 9. Questions?William Brander @WilliamBZAhttp://www.WilliamB.Netwilliam@williamb.net

×