MVVM Made Easy: Introduction To Caliburn Micro on Windows Phone

673 views

Published on

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

  • Be the first to like this

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

No notes for slide
  • Speaker NotesInternal Pluming:
  • Speaker Notes:- Mention that it’s Flexible to Use Standard Binding Instead of Conventions.
  • Speaker Notes:Mention that in the bootstrapper you have to add a refrence all your ViewModels.We Are Cleaning the App.xaml.cs because the bootstrapper takes care of everything that is needed to initialize the App.
  • MVVM Made Easy: Introduction To Caliburn Micro on Windows Phone

    1. 1. Windows Phone Version MVVM Made Easy The Caliburn Micro Framework
    2. 2. MVVM Model ViewModel View
    3. 3. Problem ? • Internal Pluming (boilerplate code). • “magic strings” are used.
    4. 4. Toolkits • MVVM Light. • Caliburn Micro.
    5. 5. Pros and Cons (MVVM Light) Pros Cons Easy Implementation Developer has to do more work Uses Same Concepts as MVVM
    6. 6. Pros and Cons (Caliburn Micro) Pros Cons Less Overhead Complex Configuration More Productivity Hides Mechanism Uses Conventions (Easier Binding) Comes With Helpers For Windows Phone
    7. 7. Let’s Make a Demo Create the first project that uses Caliburn Micro
    8. 8. Configuring the App • Find it in NuGet • Create the Bootstrapper Class : http://sdrv.ms/1aArG03 • Declare the namespace in App.xaml: (xmlns:YOURNAMESPACE="clr-namespace:YOURNAMESPACE“) • Add The Bootstrapper as a resource: (<YOURNAMESPACE:Bootstrapper x:Key="bootstrapper" />) • Clean the App.xaml.cs
    9. 9. Remon Kamel MEA DPE Intern at Microsoft – Egypt fb.me/harryremon @harryremon harryremon@hotmail.com harryremon.wordpress.com

    ×