Your SlideShare is downloading. ×
0
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Introduction to Model-View-ViewModel (MVVM)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to Model-View-ViewModel (MVVM)

926

Published on

A walkthrough of the fundamentals of Model-View-ViewModel (MVVM).

A walkthrough of the fundamentals of Model-View-ViewModel (MVVM).

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
926
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
46
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • This is the first slide in your presentation!
  • This will always be the second slide in the initial slide deck, except for Devscovery.
  • An example demo slide. You can insert this slide with the New Slide button.
  • Transcript

    • 1. Introduction to MVVM Jeremy Likness Senior Consultant, Project Manager Twitter: @JeremyLikness Blog: http://csharperimage.jeremylikness.com/consulting training debugging wintellect.com
    • 2. what we do consulting training debugging who we are Founded by top experts on Microsoft – Jeffrey Richter, Jeff Prosise, and John Robbins – we pull out all the stops to help our customers achieve their goals through advanced software-based consulting and training solutions. how we do it Consulting & Debugging Training • Architecture, analysis, and design services • On-site instructor-led training • Full lifecycle custom software development • Virtual instructor-led training • Content creation • Devscovery conferences • Project management • Debugging & performance tuningconsulting training debugging wintellect.com
    • 3. Agenda • What is MVVM? • Why use MVVM? • MVVM Frameworks Overview • What is the Cost? • Demo • MVVM Prescription • Questionsconsulting training debugging wintellect.com
    • 4. What is MVVM?consulting training debugging wintellect.com
    • 5. What is MVVM? • Do you ever have to start work on an application before the design team is ready? • Do you make updates in parallel with the design team? • Do you unit test your solutions? • Do you reuse code and components both within and across projects? • Do you ever have to change the user interface, and wouldn’t it be nice to do it without having to hit your code as well? • MVVM solves these types of problems!consulting training debugging wintellect.com
    • 6. What is MVVM? The Model • Domain object • Data/Information and/or Behavior • Possible persistence information (id, GUID, etc) • Separate from “how it got there”consulting training debugging wintellect.com
    • 7. What is MVVM? The View • What the user “sees” / experiences • User-friendly format for presentation • Multiple inputs (gestures) • Behaviors • Events • Data-bindingsconsulting training debugging wintellect.com
    • 8. What is MVVM? The View Model • The “controller” • Doesn’t know about the view • Exposes methods and commands • Coordinates with services • “Owns” models, and knows how to retrieve/update them • Might be used in multiple views • Can communicate with other view modelsconsulting training debugging wintellect.com
    • 9. What is MVVM? The View Modelconsulting training debugging wintellect.com
    • 10. 10 Reasons to Use MVVM 1. Separation of concerns/de-coupling. 2. Designer/developer workflow. 3. Unit testing. 4. Data-binding. 5. Code reuse. 6. Modularity. 7. Refactoring containment. 8. Extensibility. 9. Tools support (Windows Phone 7, MVVM Light, etc.) 10.Pattern vocabulary.consulting training debugging wintellect.com
    • 11. MVVM Frameworks 1. PRISM (Guidance/Quickstart). 2. MVVM Light. 3. Caliburn. 4. Cinch. 5. nRoute.consulting training debugging wintellect.com
    • 12. How Much Does it Cost? • Learning Curve (Developers) • Bigger down payment (architecture, infrastructure) - Low interest rates and minimum monthly payments! • Visibility (de-coupling can backfire) • Duplication of code (e.g. WCF RIA)consulting training debugging wintellect.com
    • 13. demo MVVM “Before and After”consulting training debugging wintellect.com
    • 14. MVVM Framework Prescription 1. View management. 2. View and view-model routing. 3. INotifyPropertyChanged. 4. IDataErrorInfo. 5. ICommand (UObey) 6. Dialogs. 7. Messaging. 8. Navigation. 9. Services. 10.Unit testing.consulting training debugging wintellect.com
    • 15. Questions? Jeremy Likness Senior Consultant, Project Manager Twitter: @JeremyLikness Blog: http://csharperimage.jeremylikness.com/consulting training debugging wintellect.com

    ×