Upload
remon-kamel
View
204
Download
2
Embed Size (px)
Citation preview
MVVM Made EasyThe Caliburn Micro Framework
Windows Phone Version
MVVM
Model ViewModel View
Problem ?
• Internal Pluming (boilerplate code).
• “magic strings” are used.
Toolkits
•MVVM Light.
•Caliburn Micro.
Pros and Cons (MVVM Light)
Pros Cons
Easy Implementation Developer has to do more work
Uses Same Concepts as MVVM
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
Let’s Make a DemoCreate the first project that uses Caliburn Micro
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
MEA DPE Intern at Microsoft – Egypt
fb.me/harryremon
@harryremon
harryremon.wordpress.com
Remon Kamel