Your SlideShare is downloading. ×
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011
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

MVVM from Scratch using Silverlight PUG Monthly Meet - July 2011

2,557

Published on

On last Saturday (i.e. 9th July 2011) I delivered one hour session on "MVVM from Scratch using Silverlight" in Pune User Group's (PUG) Monthly meet. The session was full of demo and very little with …

On last Saturday (i.e. 9th July 2011) I delivered one hour session on "MVVM from Scratch using Silverlight" in Pune User Group's (PUG) Monthly meet. The session was full of demo and very little with slides.

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

  • Be the first to like this

No Downloads
Views
Total Views
2,557
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
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
  • Improved power awareness prevents the screen saver from being shown while watching video and allows the computer to sleep when video is not active.Remote control support, allowing users to control media playbackDRM advancements that allow seamless switching between DRM media sources.Enhanced OpenType support.Support for Postscript vector printing enables users to create reports and documents, including the ability to create a virtual print view different from what is shown on the screen.The DataContextChanged event is being introduced. WS-Trust support: Security Assertion Markup Language authentication token.Call existing unmanaged code directly from within Silverlight with P/Invoke.
  • Transcript

    • 1. MVVM from Scratch using Silverlight
      - By Kunal Chowdhury
    • 2. Agenda
      What is MVVM?
      Why to use MVVM?
      Events Replacement
      Demo
      MVVM Guidelines
    • 3. What is MVVM?
      MVVM stands for:
      (M)odel
      (V)iew
      (V)iew (M)odel
      View
      ViewModel
      Model
    • 4. What is MVVM? (contd.)
      View
      ViewModel
      Model
    • 5. Why to use MVVM?
      Loose coupling between the Model, View and ViewModel
      Create almost 0 code behind lines
      Reusability of the ViewModel code
      Unit testing of the ViewModel independently
      Designers can work in the View without messing up the logic
      Would benefit from a root ViewModel class for the state management
    • 6. Event Replacement
      Notification
      Command
      Event Aggregation
      Behavior
    • 7. Demo
    • 8. MVVM Guidelines
      Separate your View and ViewModel
      Don’t write any code in .xaml.cs unless require
      Try to use the Behavior whenever require. This will make sure that, your code behind is clean
      Your ViewModel should not know it’s View
      ViewModel should not have any instance of UIElements
      Expose properties and Bind them in the View
    • 9. Resources
      Silverlight Articles –http://tinyurl.com/silverlightarticles
      MVVM Articles - http://tinyurl.com/mvvmarticles
      Silverlight Zone – http://www.silverlight-zone.com
      Silverlight.Net – http://www.silverlight.net
    • 10. Questions and Answers
    • 11. Thank you

    ×