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

Creating Hybrid Apps with PhoneGap

Georgi Knox
February 15, 2014

Creating Hybrid Apps with PhoneGap

Georgi Knox

February 15, 2014
Tweet

More Decks by Georgi Knox

Other Decks in Programming

Transcript

  1. What I will cover • What is Phonegap? • Pros

    & Cons • Phonegap App Example • Tools used to create app
  2. Technology Magpie >> A geek often distracted by ALL THE

    THINGS.. Citation: European Magpies unlike Aussie ones, collect shiny objects
  3. • a framework for building cross-platform mobile apps with web

    technologies • Javascript APIs • Actively maintained by Adobe • Opensource • leader in the cross- platform tools space What is PhoneGap?
  4. PhoneGap Pros • Easy for web developers • Reduced development

    costs • Write once, run anywhere • Open source
  5. PhoneGap Cons • Not suitable for all types of apps

    (think high end graphics & 3D Support) • Not all native features are supported • App might not run as fast
  6. • Single Page Angular JS App • Asynchronous WS with

    Promises • HTML5 LocalStorage for data caching • SASS for css variables and mixins • Grunt for CSS & JS pre- processing • PhoneGap APIs used for ◦ Network connectivity detection Front End Architecture $ phonegap build ios
  7. Web Services • RESTful web services • Built in Scala

    on the Play Framework • MongoDB database for JSON objects ◦ Driver was fully Non- Blocking and asynchronous • Deployed to Heroku
  8. Summary • App built in 4 weeks, in spare time

    • Making the app look good took a long time • Heroku rocked - easy to use • PhoneGap had some fiddly parts but in general was easy to work with - would choose again