Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hybrid Mobile Apps with Calatrava

Avatar for Vivek Vivek
July 29, 2013

Hybrid Mobile Apps with Calatrava

This deck covers:
* Mobile Application Development approaches (at a high-level)
* Explains the approach used by Calatrava
* Structure of a Calatrava project

Avatar for Vivek

Vivek

July 29, 2013
Tweet

Other Decks in Technology

Transcript

  1. Native app for each platform User Experience Separate teams/skillset Device

    capabilities App Store Expensive High maintenance
  2. When to use •  complex client-side business logic •  when

    mobile is a channel •  not a pure UI app (like a game) •  web experience is not good enough •  cover-you-bases implementation strategy •  additional features in an existing app
  3. Pages - logical screen on the app •  View Controller

    on iOS •  Activity on Android •  div on Mobile Web
  4. Pages - manages the UI •  bind to events • 

    extract data •  render data
  5. Bridge •  API for kernel to interact with native • 

    calatrava.bridge. •  pages •  changePage •  request •  plugins
  6. Kernel •  business & flow/interaction logic •  features under kernel/app

    •  gets references to pages from the bridge •  specs under kernel/spec
  7. Shell •  optional HTML UI for sharing •  contains pages

    in HTML and JS •  recommend to start with entire UI in shell •  Web App for free
  8. Plugins •  for device specific code •  single interface in

    kernel •  specific implementation for each platform