SlideShare uma empresa Scribd logo
1 de 79
Baixar para ler offline
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

Mais conteúdo relacionado

Semelhante a HTML5 Slides

Cloud Computing Report For Print
Cloud Computing Report For PrintCloud Computing Report For Print
Cloud Computing Report For Print
jimeyren
 
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
Ikinnoveer
 

Semelhante a HTML5 Slides (20)

Native Slide
Native SlideNative Slide
Native Slide
 
Mobile app class Chicago
Mobile app class ChicagoMobile app class Chicago
Mobile app class Chicago
 
Google Developer Day 2010 Japan: Part 1: Google App Engine for Business の概要 P...
Google Developer Day 2010 Japan: Part 1: Google App Engine for Business の概要 P...Google Developer Day 2010 Japan: Part 1: Google App Engine for Business の概要 P...
Google Developer Day 2010 Japan: Part 1: Google App Engine for Business の概要 P...
 
Lone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New AngleLone StarPHP 2013 - Building Web Apps from a New Angle
Lone StarPHP 2013 - Building Web Apps from a New Angle
 
Cloud Computing Report For Print
Cloud Computing Report For PrintCloud Computing Report For Print
Cloud Computing Report For Print
 
Developing with Phonegap - Adobe Refresh 2012
Developing with Phonegap - Adobe Refresh 2012Developing with Phonegap - Adobe Refresh 2012
Developing with Phonegap - Adobe Refresh 2012
 
Introduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap BuildIntroduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap Build
 
Tools/Processes for serious android app development
Tools/Processes for serious android app developmentTools/Processes for serious android app development
Tools/Processes for serious android app development
 
Tek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJSTek 2013 - Building Web Apps from a New Angle with AngularJS
Tek 2013 - Building Web Apps from a New Angle with AngularJS
 
Tek13 - Creating Mobile Apps with PHP and Symfony
Tek13 - Creating Mobile Apps with PHP and SymfonyTek13 - Creating Mobile Apps with PHP and Symfony
Tek13 - Creating Mobile Apps with PHP and Symfony
 
Green Shoots in the Brownest Field: Being a Startup in Government
Green Shoots in the Brownest Field: Being a Startup in GovernmentGreen Shoots in the Brownest Field: Being a Startup in Government
Green Shoots in the Brownest Field: Being a Startup in Government
 
A false digital alibi on mac os x
A false digital alibi on mac os xA false digital alibi on mac os x
A false digital alibi on mac os x
 
5 Steps to Secure Google Drive
5 Steps to Secure Google Drive5 Steps to Secure Google Drive
5 Steps to Secure Google Drive
 
CloudMile Product & Service (EN)
CloudMile Product & Service (EN)CloudMile Product & Service (EN)
CloudMile Product & Service (EN)
 
March Slide Deck (Public)
March Slide Deck (Public)March Slide Deck (Public)
March Slide Deck (Public)
 
Building a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator PlatformBuilding a scalable app factory with Appcelerator Platform
Building a scalable app factory with Appcelerator Platform
 
Desenvolvedores são os novos donos do jogo
Desenvolvedores são os novos donos do jogoDesenvolvedores são os novos donos do jogo
Desenvolvedores são os novos donos do jogo
 
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
IA Ondernemen met innovatieve apps. Wim Vanhenden. Sessie 2
 
UberFire Quick Intro and Overview (early beta Aug 2013)
UberFire Quick Intro and Overview (early beta Aug 2013)UberFire Quick Intro and Overview (early beta Aug 2013)
UberFire Quick Intro and Overview (early beta Aug 2013)
 
Drupalcon PDX Swagger
Drupalcon PDX SwaggerDrupalcon PDX Swagger
Drupalcon PDX Swagger
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

HTML5 Slides