64
Build your first mobile app with HTML5, PhoneGap, jQuery and APIs @mdobs @ apigee hashtag: #ApigeeHTML5 Tuesday, September 3, 13

Matt training-html-halfday

  • View
    790

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Matt training-html-halfday

Build your firstmobile app with

HTML5, PhoneGap, jQuery and APIs

@mdobs@apigee

hashtag: #ApigeeHTML5

Tuesday, September 3, 13

Page 2: Matt training-html-halfday

Matt [email protected]@apigee.comTim Burks@timburks

Tuesday, September 3, 13

Page 3: Matt training-html-halfday

Did everybody install PhoneGap + XCode, ADT or Visual Studio?

Tuesday, September 3, 13

Page 4: Matt training-html-halfday

I work @ Apigee

Tuesday, September 3, 13

Page 5: Matt training-html-halfday

We help power eBayBest Buy, Walgreens, Gilt Groupe, NewEgg, Cars.com, Dell, Getty Images, GraceNote, Shazam, HomeAway, Pearson, cheezburger

Tuesday, September 3, 13

Page 6: Matt training-html-halfday

We’ve organized this training in LA, San Jose, Austin, Denver, Amsterdam, Atlanta, Detroit, Toronto…

Tuesday, September 3, 13

Page 7: Matt training-html-halfday

Why do we do this?Why free?

Tuesday, September 3, 13

Page 8: Matt training-html-halfday

Apigee is always free for developersFree Hosted Accounts25GB storage limit,10M push notifs/mono API/bandwidth limitCommercial use OKFree OSS versiongit.io/usergrid

Tuesday, September 3, 13

Page 9: Matt training-html-halfday

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.

Tuesday, September 3, 13

Page 10: Matt training-html-halfday

What do you want to learn today?

Tuesday, September 3, 13

Page 11: Matt training-html-halfday

Everybody good withHTML Basics,Variables,Functions,etc. ?

Tuesday, September 3, 13

Page 12: Matt training-html-halfday

1 HTML52 API Backend3 Add more!4 PhoneGap5 Q&A

Tuesday, September 3, 13

Page 13: Matt training-html-halfday

Meetup tonight @ DUMBO Kitchen

Tuesday, September 3, 13

Page 14: Matt training-html-halfday

Buildinga simple list app

Tuesday, September 3, 13

Page 15: Matt training-html-halfday

HTML5

Tuesday, September 3, 13

Page 16: Matt training-html-halfday

use relatively few:data-attributesgeolocationhistory

Tuesday, September 3, 13

Page 17: Matt training-html-halfday

diveintohtml5.info

Tuesday, September 3, 13

Page 18: Matt training-html-halfday

Other approachesNativeMonoTouchRubyMotion etc.

Tuesday, September 3, 13

Page 19: Matt training-html-halfday

jQueryand jQuery Mobile

Tuesday, September 3, 13

Page 20: Matt training-html-halfday

Section 1Start with the UI

Tuesday, September 3, 13

Page 21: Matt training-html-halfday

Build something that looks like this

j.mp/apigee-loc-ss

Tuesday, September 3, 13

Page 23: Matt training-html-halfday

Answer

j.mp/apigee-loc-1

Tuesday, September 3, 13

Page 24: Matt training-html-halfday

Section 2Add live data

Tuesday, September 3, 13

Page 25: Matt training-html-halfday

Why do we need a backend?

Tuesday, September 3, 13

Page 26: Matt training-html-halfday

Many options here too…

Tuesday, September 3, 13

Page 27: Matt training-html-halfday

We’re going to usean API Backend today!

Tuesday, September 3, 13

Page 28: Matt training-html-halfday

It’s like a database that you call directly from your client code.

Tuesday, September 3, 13

Page 29: Matt training-html-halfday

It’s a cloud service that makes it easy tostore your data, retrieve it & query it.

Tuesday, September 3, 13

Page 30: Matt training-html-halfday

It’s a like a Dropbox or iCloud to synchronize all your app data across users and devices

Tuesday, September 3, 13

Page 31: Matt training-html-halfday

ServerInfrastructure

AppCode SDK API

Tuesday, September 3, 13

Page 32: Matt training-html-halfday

Apigee App Servicesvs. Usergrid

Tuesday, September 3, 13

Page 33: Matt training-html-halfday

Let’s take a look at Apigee

j.mp/apigee-sign-up

Tuesday, September 3, 13

Page 34: Matt training-html-halfday

Add some data

Tuesday, September 3, 13

Page 35: Matt training-html-halfday

SDKs available for…

JS, node.js, iOS, Android, Ruby, Rails,C#, Java, WP8, etc.

Tuesday, September 3, 13

Page 36: Matt training-html-halfday

Explore the Quickstart

j.mp/apigee-loc-qs

Tuesday, September 3, 13

Page 37: Matt training-html-halfday

Add some view code

Tuesday, September 3, 13

Page 38: Matt training-html-halfday

Answer

j.mp/apigee-loc-2

Tuesday, September 3, 13

Page 39: Matt training-html-halfday

Now let’s create a form!

Tuesday, September 3, 13

Page 40: Matt training-html-halfday

Answer

j.mp/apigee-loc-3

Tuesday, September 3, 13

Page 41: Matt training-html-halfday

Wire it up to Apigee!

Tuesday, September 3, 13

Page 42: Matt training-html-halfday

Answer

j.mp/apigee-loc-4

Tuesday, September 3, 13

Page 43: Matt training-html-halfday

Section 3Run on mobile!

Tuesday, September 3, 13

Page 44: Matt training-html-halfday

A look at PhoneGapPhoneGap Build, Trigger.io, etc.

Tuesday, September 3, 13

Page 45: Matt training-html-halfday

Apache Cordovavs.Adobe PhoneGap

Tuesday, September 3, 13

Page 46: Matt training-html-halfday

Add your HTML

Tuesday, September 3, 13

Page 47: Matt training-html-halfday

Android projectj.mp/apigee-android

iOS projectj.mp/apigee-ios

Tuesday, September 3, 13

Page 48: Matt training-html-halfday

Run!

Tuesday, September 3, 13

Page 49: Matt training-html-halfday

What runs where?

Tuesday, September 3, 13

Page 50: Matt training-html-halfday

PhoneGap Build

Tuesday, September 3, 13

Page 51: Matt training-html-halfday

Full Source of class

j.mp/apigee-loc-src

Tuesday, September 3, 13

Page 52: Matt training-html-halfday

Congrats!

Tuesday, September 3, 13

Page 53: Matt training-html-halfday

What else could you do next?

Tuesday, September 3, 13

Page 54: Matt training-html-halfday

Push NotificationsFile StorageSocial GraphLocal capabilities3rd-party integrationLegacy integrationCode execution

Tuesday, September 3, 13

Page 55: Matt training-html-halfday

Great for prototyping,works at scale too!

Tuesday, September 3, 13

Page 56: Matt training-html-halfday

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)

Tuesday, September 3, 13

Page 57: Matt training-html-halfday

A top 10 US retaileruses it for everye-commerce call made to its app or website (over 50M users, thousands of calls per second).

Tuesday, September 3, 13

Page 58: Matt training-html-halfday

One of the 10 largest private companies in the US used it to create an internal info management system for its 52k employees

Tuesday, September 3, 13

Page 59: Matt training-html-halfday

A large luxury brand based in the UK mandates all contractors use it to build catalogs, campaign sites and apps for them

Tuesday, September 3, 13

Page 60: Matt training-html-halfday

Apigee is free for developersFree Hosted Accounts25GB storage limit,10M push notifs/mo.no API/bandwidth limitCommercial use OKFree OSS versiongit.io/usergrid

Tuesday, September 3, 13

Page 61: Matt training-html-halfday

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.

Tuesday, September 3, 13

Page 62: Matt training-html-halfday

Ask for help!Announce projects!

j.mp/app-craft

Sign up now :)

Tuesday, September 3, 13

Page 63: Matt training-html-halfday

Get more training

Advanced class?Training for your company? Still [email protected]

Tuesday, September 3, 13

Page 64: Matt training-html-halfday

Congrats!

If you liked it,post it on Twitter/LinkedIn :)@apigee @mdobs

[email protected], September 3, 13