@slodgeMvvmCrossGitte Vermeiren@gittetitterproq.blogspot.com
@slodge
@slodgeCan we do this?PortableClassLibrariesXamarin MvvmCross
@slodgePortable Class Libraries
@slodge
@slodgeProfile 104• WPF – 4.5+• Windows Store (WinRT)• Windows Phone – 7.1+• Xamarin.Android• Xamarin.iOS
@slodgeXamarin
@slodgeXamarin for Android/iOSBusiness LogicUI LogicWP iOS Droid Win8Data AccessBusiness LogicService InterfaceService Con...
@slodgeXamarin for Android/iOSCodeCompletionfor NativeAPIsVisual StudioIntegrationAdvancedDebuggingSupportPoint andclick U...
@slodgeXamarin for Android/iOS
@slodgeMvvmCross
@slodgeViewViewModelModelget/setPropertiescall Commandsnotify changessome messagingWhatever C# youlike …… messages workwel...
@slodgeSeparationof ConcernsDesignable(Blend)MorestructuredcodeTestableDatabindingCode reuse
@slodgeData Binding
@slodgeINotifyPropertyChanged
@slodgeTypical ViewModel Property
@slodgeOne Way BindingPersonViewModelFirstNameLastNameDateOfBirthFirst NameJonLast NameDoeDate of birth12/07/1989
@slodgeUI Syntax
@slodgeTwo Way BindingPersonViewModelFirstNameLastNameDateOfBirthFirst NameJonLast NameDoeDate of birth12/07/1989
@slodgeUI Syntax
@slodgeInterface Driven Development
@slodgeMyViewModelNeeds LocationNeeds SQLNeeds CalculatorTheContainerMy TaxCalculatorWindows PhoneLocationInversion of Con...
@slodgeMyViewModelNeeds LocationNeeds SQLNeeds CalculatorTheContainerMy TaxCalculatoriOS LocationInversion of Construction...
@slodgeMvx.Register<T>TheContainer(Mvx)
@slodgeAutomatic Registration
@slodgeMvx.Resolve<T>
@slodgeMvx Construction• Constructor resolution
@slodgeNuget packages
@slodgeTipCalc Demo
Upcoming SlideShare
Loading in …5
×

Mvvm crossevent basics

3,218 views

Published on

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

No Downloads
Views
Total views
3,218
On SlideShare
0
From Embeds
0
Number of Embeds
2,403
Actions
Shares
0
Downloads
25
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • Hi, a verygoodmorning, I hope you’reall ready for a daypackedwith demo’s on howtobuild cross platform mobile applicationswithmvvmcross. I am Gitte, and I work as a software consultant in Belgium. I have been writing mobile applicationsforsome time now and have been playingaroundwithXamarinforabout 2 years.A couplemonths back I alsodiscoveredmvvmcross as a great way touse the mvvmpatternacross multiple platforms. Using mvvmwhenyoubuildapplicationsfor multiple platforms is, in my opinion, a goodchoice, and mvvmcrossgivesyou a big part of the plumbingyouwillneedto get startedquickly. I spoke on thisduringthisyearstechdaysbe event, hostedby Microsoft. And we alsowrote the official techdaysbeappforthis event forwindowsphone, windows 8 and android, with the use of mvvmcross of course. Now, today I willbetalkingtoyouabout the basics of gettingstartedwithboth the mvvmpattern and mvvmcrossspecifically. As Stuart justtoldyou, later today we will go into more of a deepdivewithtalksabout more advanced user interfaces, navigation, using and writingplugins and so on. But let me first giveyou the basics.
  • Let me first askyou the following question, who of you is familiarwithmvvm? As in: yup, I’vedone a project usingthispattern.Who of you is familiarwithmvvmcross? As in, yup, I’vebuildanappwithmvvmcross.
  • Let me first askyou the following question, who of you is familiarwithmvvm? As in: yup, I’vedone a project usingthispattern.Who of you is familiarwithmvvmcross? As in, yup, I’vebuildanappwithmvvmcross.
  • Other profile = 78
  • Point and click UI designCode Completion for Native APIsAdvanced Debugging SupportVisual Studio Integration
  • AccountsAddressBookAdSupportAudioToolboxAnimationBluetoothGraphicsCoreImageLocationsMediaCoreMotionSqlLiteDrmGesturesGoogleMapsHardwareUsbNfcOpenglSaxSpeechWallpaperTextServiceWidgetNet.HttpNet.WifiTelephonyCoreVideoGameKit
  • Separation of ConcernsDesignable (Blend)TestableCode ReuseComplexityMore Code
  • Mvvm crossevent basics

    1. 1. @slodgeMvvmCrossGitte Vermeiren@gittetitterproq.blogspot.com
    2. 2. @slodge
    3. 3. @slodgeCan we do this?PortableClassLibrariesXamarin MvvmCross
    4. 4. @slodgePortable Class Libraries
    5. 5. @slodge
    6. 6. @slodgeProfile 104• WPF – 4.5+• Windows Store (WinRT)• Windows Phone – 7.1+• Xamarin.Android• Xamarin.iOS
    7. 7. @slodgeXamarin
    8. 8. @slodgeXamarin for Android/iOSBusiness LogicUI LogicWP iOS Droid Win8Data AccessBusiness LogicService InterfaceService Consumption Local Data/ServicesXamarin
    9. 9. @slodgeXamarin for Android/iOSCodeCompletionfor NativeAPIsVisual StudioIntegrationAdvancedDebuggingSupportPoint andclick UIdesign
    10. 10. @slodgeXamarin for Android/iOS
    11. 11. @slodgeMvvmCross
    12. 12. @slodgeViewViewModelModelget/setPropertiescall Commandsnotify changessome messagingWhatever C# youlike …… messages workwell!ViewViewViewModelViewModelModelModelCross PlatformPlatformSpecific
    13. 13. @slodgeSeparationof ConcernsDesignable(Blend)MorestructuredcodeTestableDatabindingCode reuse
    14. 14. @slodgeData Binding
    15. 15. @slodgeINotifyPropertyChanged
    16. 16. @slodgeTypical ViewModel Property
    17. 17. @slodgeOne Way BindingPersonViewModelFirstNameLastNameDateOfBirthFirst NameJonLast NameDoeDate of birth12/07/1989
    18. 18. @slodgeUI Syntax
    19. 19. @slodgeTwo Way BindingPersonViewModelFirstNameLastNameDateOfBirthFirst NameJonLast NameDoeDate of birth12/07/1989
    20. 20. @slodgeUI Syntax
    21. 21. @slodgeInterface Driven Development
    22. 22. @slodgeMyViewModelNeeds LocationNeeds SQLNeeds CalculatorTheContainerMy TaxCalculatorWindows PhoneLocationInversion of Construction(Inversion of Control)Windows PhoneSQL
    23. 23. @slodgeMyViewModelNeeds LocationNeeds SQLNeeds CalculatorTheContainerMy TaxCalculatoriOS LocationInversion of Construction(Inversion of Control)iOS SQL
    24. 24. @slodgeMvx.Register<T>TheContainer(Mvx)
    25. 25. @slodgeAutomatic Registration
    26. 26. @slodgeMvx.Resolve<T>
    27. 27. @slodgeMvx Construction• Constructor resolution
    28. 28. @slodgeNuget packages
    29. 29. @slodgeTipCalc Demo

    ×