[bdotnet] cloud connected mobile apps

of 28 /28
Architecting Cloud Connected Mobile Apps

Author: nish-anil

Post on 16-Jul-2015




1 download

Embed Size (px)


  • Architecting Cloud Connected Mobile Apps

  • Nish Anil

    Microsoft MVP .NET & a Xamarin Evangelist! @nishanil | [email protected]

  • Mobile Apps Target 3 platforms (iOS, Android, Windows Phone)

    Create Native User Interface (iOS != Android != Windows Phone)

    Provide Platform specific User Experience

    High Performance


  • Xamarin

  • Xamarin.Forms

    Shared UI Code!

    traditional ui code sharing with all native

  • Code Sharing?

  • Platform Divergence Platforms differ, even in subtle ways

    File locations for DBs, etc.

    Some shared code needs to be platform-aware

    Devices differ widely, even within a platform

    Hardware Features: camera, compass, NFC

    Form Factor: Screen size, ratio, density

  • So?

  • X-Plat Architecture

  • Whats a Pattern?

  • Patterns Vocabulary Singleton

    Faade (or Manager)

    Provider (also, Simple Dependency)

    Model View ViewModel (MVVM)

    Model View Controller (MVC)

  • Singleton

  • Facade

  • Provider

  • MVC

  • MVVM

  • Project Structure

  • Demo!

  • public class ExpenseItem { [PrimaryKey, AutoIncrement] public int ID { get; set; } public string Name { get; set; } public double Amount { get; set; }



    public List Expenses

  • Scale!

  • Cloud Connected Apps



  • Initialize

    await a list of data

    await inserting a new object

  • Demo!

  • http://xhackers.co/xhacknight/

  • Quest[email protected] | [email protected]

  • Thanks!