phonegap - girl geek sydney

17
Creating Hybrid Apps with Phonegap

Upload: georgi-knox

Post on 18-Jan-2015

339 views

Category:

Technology


0 download

DESCRIPTION

GGD talk about Phonegap

TRANSCRIPT

Page 1: Phonegap - Girl Geek Sydney

Creating Hybrid Apps with Phonegap

Page 2: Phonegap - Girl Geek Sydney

What I will cover

● What is Phonegap?● Pros & Cons● Phonegap App Example● Tools used to create app

Page 3: Phonegap - Girl Geek Sydney
Page 4: Phonegap - Girl Geek Sydney

Technology Magpie >> A geek often distracted by ALL THE THINGS..

Citation: European Magpies unlike Aussie ones, collect shiny objects

Page 5: Phonegap - Girl Geek Sydney

She Hacks v1.0

iOS 6 +4.2 (Jelly Bean) +

Page 6: Phonegap - Girl Geek Sydney

● 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?

Page 7: Phonegap - Girl Geek Sydney

PhoneGap Pros

● Easy for web developers● Reduced development costs● Write once, run anywhere ● Open source

Page 8: Phonegap - Girl Geek Sydney

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

Page 9: Phonegap - Girl Geek Sydney

She Hacks App...

Page 10: Phonegap - Girl Geek Sydney
Page 11: Phonegap - Girl Geek Sydney

● 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

Page 12: Phonegap - Girl Geek Sydney

UI Frameworks

Page 13: Phonegap - Girl Geek Sydney

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

Page 14: Phonegap - Girl Geek Sydney

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

Page 16: Phonegap - Girl Geek Sydney

www.GeekGirl.io

@GeorgiKnox

@CatRapture

Page 17: Phonegap - Girl Geek Sydney