SlideShare a Scribd company logo
Build your first
mobile app with
HTML5, PhoneGap,
jQuery and APIs
@mdobs
@apigee
hashtag: #ApigeeHTML5
wifi: Bento Miso/misoconnected
Monday, July 29, 13
Matt Dobson
@mdobs
matt.d@apigee.com
Kevin Swiber
@kevinswiber
kswiber@apigee.com
Monday, July 29, 13
Did everybody install
PhoneGap + XCode,
ADT or Visual Studio?
Monday, July 29, 13
I work @ Apigee
Monday, July 29, 13
We help power eBay
Best Buy, Walgreens,
Gilt Groupe, NewEgg,
Cars.com, Dell, Getty
Images, GraceNote,
Shazam, HomeAway,
Pearson, cheezburger
Monday, July 29, 13
We’ve organized this
training in LA, San
Jose, Austin,
Denver, Amsterdam,
Atlanta, Houston,
Denver…
Monday, July 29, 13
Why do we do this?
Why free?
Monday, July 29, 13
Apigee is always free
for developers
Free Hosted Accounts
25GB 	storage limit,
10M push notifs/mo
no API/bandwidth limit
Commercial use OK
Free OSS version
git.io/usergrid
Monday, July 29, 13
Paid plans available
for large companies if
you need to deploy
this on your own
servers or SLAs,
4 nines, multi-region,
phone support, more
storage, etc.
Monday, July 29, 13
What do you want to
learn today?
Monday, July 29, 13
Everybody good with
HTML Basics,
Variables,
Functions,
etc. ?
Monday, July 29, 13
1 HTML5
2 API Backend
3 Add more!
4 PhoneGap
5 Q&A
Monday, July 29, 13
Building
a simple list app
Monday, July 29, 13
HTML5
Monday, July 29, 13
use relatively few:
data-attributes
geolocation
history
Monday, July 29, 13
diveintohtml5.info
Monday, July 29, 13
Other approaches
Native
MonoTouch
RubyMotion etc.
Monday, July 29, 13
jQuery
and jQuery Mobile
Monday, July 29, 13
Section 1
Start with the UI
Monday, July 29, 13
Build something that
looks like this
j.mp/apigee-loc-ss
Monday, July 29, 13
The nice guys at
Codiqa let me offer
you unlimited trial:
j.mp/
codiqa-trial-unlimited
Monday, July 29, 13
Answer
j.mp/apigee-loc-1
Monday, July 29, 13
Section 2
Add live data
Monday, July 29, 13
Why do we need a
backend?
Monday, July 29, 13
Many options here
too…
Monday, July 29, 13
We’re going to use
an API Backend
today!
Monday, July 29, 13
It’s like a database
that you call directly
from your client
code.
Monday, July 29, 13
It’s a cloud service
that makes it easy to
store your data,
retrieve it & query it.
Monday, July 29, 13
It’s a like a Dropbox
or iCloud to
synchronize all your
app data across
users and devices
Monday, July 29, 13
Server
Infrastructure
App
Code
SDK API
Monday, July 29, 13
Apigee App Services
vs. Usergrid
Monday, July 29, 13
Let’s take a look at
Apigee
j.mp/apigee-sign-up
Monday, July 29, 13
Add some data
Monday, July 29, 13
SDKs available for…
JS, node.js, iOS,
Android, Ruby, Rails,
C#, Java, WP8, etc.
Monday, July 29, 13
Explore the
Quickstart
j.mp/apigee-loc-qs
Monday, July 29, 13
Add some view code
Monday, July 29, 13
Answer
j.mp/apigee-loc-2
Monday, July 29, 13
Now let’s create a
form!
Monday, July 29, 13
Answer
j.mp/apigee-loc-3
Monday, July 29, 13
Wire it up to Apigee!
Monday, July 29, 13
Answer
j.mp/apigee-loc-4
Monday, July 29, 13
Section 3
Run on mobile!
Monday, July 29, 13
A look at PhoneGap
PhoneGap Build,
Trigger.io, etc.
Monday, July 29, 13
Apache Cordova
vs.
Adobe PhoneGap
Monday, July 29, 13
Android
j.mp/phonegap-
android-guide
iOS, Windows Phone
j.mp/cordova-25-
getstarted
Monday, July 29, 13
Add your HTML
Monday, July 29, 13
Android project
j.mp/apigee-android
iOS project
j.mp/apigee-ios
Monday, July 29, 13
Run!
Monday, July 29, 13
What runs where?
Monday, July 29, 13
PhoneGap Build
Monday, July 29, 13
Full Source of class
j.mp/apigee-loc-src
Monday, July 29, 13
Section 4
Geolocation
Monday, July 29, 13
0.	Add location
	 	 to objects
1.	Find your location
2.	Query for nearby
	 	 objects
Monday, July 29, 13
I’ve created
landmarks for you!
j.mp/geo-feed
Monday, July 29, 13
To avoid the geoloc
security error
python -m
SimpleHTTPServer
& open http://
localhost:8000
Monday, July 29, 13
Geoloc docs
j.mp/apigee-geoloc
Monday, July 29, 13
Solution
j.mp/apigee-loc-5
Monday, July 29, 13
Advanced Demo
j.mp/targets-demo
Code
j.mp/targets-code
Monday, July 29, 13
Section 5
Identity & Security
Monday, July 29, 13
Managing your users
Monday, July 29, 13
Signup is open, but
everything else is
controlled.
Monday, July 29, 13
Permissions
Monday, July 29, 13
Creating a user
(signup)
Monday, July 29, 13
Getting a token
(login)
Monday, July 29, 13
Mixing identity into
our code!
Monday, July 29, 13
Solution
j.mp/apigee-loc-6
Monday, July 29, 13
Demo
j.mp/messagee-demo
Code
j.mp/messagee-code
Monday, July 29, 13
What else could you
do next?
Monday, July 29, 13
Push Notifications
File Storage
Social Graph
Local capabilities
3rd-party integration
Legacy integration
Code execution
Monday, July 29, 13
Great for
prototyping,
works at scale too!
Monday, July 29, 13
When you use
Apigee, every piece
of data you store gets
saved in 3 different
data centers around
the US (soon 3
copies in Europe too)
Monday, July 29, 13
A top 10 US retailer
uses it for every
e-commerce call
made to its app or
website (over 50M
users, thousands of
calls per second).
Monday, July 29, 13
One of the 10 largest
private companies in
the US used it to
create an internal info
management system
for its 52k employees
Monday, July 29, 13
A large luxury brand
based in the UK
mandates all
contractors use it to
build catalogs,
campaign sites and
apps for them
Monday, July 29, 13
Apigee is free for
developers
Free Hosted Accounts
25GB 	storage limit,
10M push notifs/mo.
no API/bandwidth limit
Commercial use OK
Free OSS version
git.io/usergrid
Monday, July 29, 13
Paid plans available
for large companies if
you need to deploy
this on your own
servers or SLAs,
4 nines, multi-region,
phone support, more
storage, etc.
Monday, July 29, 13
Ask for help!
Announce projects!
j.mp/app-craft
Sign up now :)
Monday, July 29, 13
Get more training
Advanced class?
Training for your
company? Still free!
matt.d@apigee.com
Monday, July 29, 13
Congrats!
If you liked it,
post it on Twitter/
LinkedIn :)
@apigee @mdobs
matt.d@apigee.com
Monday, July 29, 13

More Related Content

Similar to HTML5 Slides (20)

PDF
Mobile app class Chicago
Matthew Dobson
 
PDF
Native Slide
Matthew Dobson
 
PDF
Building Mobile Apps with Apache UserGrid, the Open Source Baas
All Things Open
 
PDF
jQuery Mobile, Backbone.js, and ASP.NET MVC
Troy Miles
 
PPT
Crafting APIs for Mobile Apps - Everything You Need to Know
Apigee | Google Cloud
 
PPTX
From Napkin to App: Rapidly Prototype and Build for Mobile in Days
Apigee | Google Cloud
 
PDF
Mobile Web to Mobile Apps
Troy Miles
 
PDF
PhoneGap in a Day
Troy Miles
 
PDF
Software Development Engineers Ireland
Sean O'Sullivan
 
PPTX
How to build a SaaS solution in 60 days
Brett McLain
 
PDF
Google App Engine Overview - BarCamp Phnom Penh 2011
traactivity
 
PPTX
From Napkin to Network: Rapidly Design, Prototype and Leverage Network APIs
Apigee | Google Cloud
 
PPTX
API Services: Building Apps That Stand Out
Apigee | Google Cloud
 
PDF
Apache Usergrid for JavaScript Developers
David M. Johnson
 
PDF
Introduction to Usergrid - ApacheCon EU 2014
David M. Johnson
 
PDF
PhoneGap in 60 Minutes or Less
Troy Miles
 
PPTX
Using Google App Engine Python
Akshay Mathur
 
PDF
Mobile Backend Apps and APIs meetup London overview of BaaS APIs and discussi...
Taras Filatov
 
PPT
Building your first Native iOs App with an API Backend
Apigee | Google Cloud
 
PPT
Joomla as a mobile App backend - ideas, examples and experiences
Andy_Gaskell
 
Mobile app class Chicago
Matthew Dobson
 
Native Slide
Matthew Dobson
 
Building Mobile Apps with Apache UserGrid, the Open Source Baas
All Things Open
 
jQuery Mobile, Backbone.js, and ASP.NET MVC
Troy Miles
 
Crafting APIs for Mobile Apps - Everything You Need to Know
Apigee | Google Cloud
 
From Napkin to App: Rapidly Prototype and Build for Mobile in Days
Apigee | Google Cloud
 
Mobile Web to Mobile Apps
Troy Miles
 
PhoneGap in a Day
Troy Miles
 
Software Development Engineers Ireland
Sean O'Sullivan
 
How to build a SaaS solution in 60 days
Brett McLain
 
Google App Engine Overview - BarCamp Phnom Penh 2011
traactivity
 
From Napkin to Network: Rapidly Design, Prototype and Leverage Network APIs
Apigee | Google Cloud
 
API Services: Building Apps That Stand Out
Apigee | Google Cloud
 
Apache Usergrid for JavaScript Developers
David M. Johnson
 
Introduction to Usergrid - ApacheCon EU 2014
David M. Johnson
 
PhoneGap in 60 Minutes or Less
Troy Miles
 
Using Google App Engine Python
Akshay Mathur
 
Mobile Backend Apps and APIs meetup London overview of BaaS APIs and discussi...
Taras Filatov
 
Building your first Native iOs App with an API Backend
Apigee | Google Cloud
 
Joomla as a mobile App backend - ideas, examples and experiences
Andy_Gaskell
 

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Français Patch Tuesday - Juillet
Ivanti
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Ad

HTML5 Slides