build your first mobile app with html5 & an api...

61
Build your first mobile app with HTML5 & an API Backend 1. No Audio right now — we’ll get started by 3:05pm Pacific Take this time to send us a quick GoToWebinar message to let us know which city you’re from and if you’re a designer, front-end developer, backend-developer, architect, manager, etc. :) 2. Reminder: you need to have PhoneGap + XCode, ADT or Visual Studio installed. Android guide: j.mp/phonegap-android-guide iOS, Windows Phone guide: j.mp/phonegap-26-getstarted 3. We will send you a video recording + slides by email

Upload: vuongdan

Post on 10-Jun-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Build your first mobile appwith HTML5 & an API Backend1. No Audio right now — we’ll get started by 3:05pm PacificTake this time to send us a quick GoToWebinar message to let us know which city you’re from and if you’re a designer, front-end developer, backend-developer, architect, manager, etc. :)

2. Reminder: you need to have PhoneGap + XCode, ADT or Visual Studio installed.Android guide: j.mp/phonegap-android-guideiOS, Windows Phone guide: j.mp/phonegap-26-getstarted

3. We will send you a video recording + slides by email

Page 3: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Formerly:Software at NASDAQCS lecturer in MSc.CTO of startupInv. Expert at W3C

Page 4: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

I work for Apigee

Page 5: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 6: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 7: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Apigee is always free for developersFree Hosted Accounts25GB storage limit,no API/bandwidth limitCommercial use OKFree OSS versiongit.io/usergrid

Page 8: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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.

Page 9: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Where is everybody from today?What do you do?

Page 10: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 11: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

HTML5 30 minBuild a UI 45Add Live Data 45PhoneGap 45Q&A, Next Steps 15

Page 12: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Buildinga simple list app

Page 13: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

HTML5

Page 14: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

use relatively few:data-attributeshistory

Page 16: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Other approachesNativeMonoTouchRubyMotion etc.

Page 17: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

jQueryand jQuery Mobile

Page 18: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Section 1Start with the UI

Page 19: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Build something that looks like thisj.mp/apigee-mockup

Page 21: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Answerj.mp/apigee-ui

Page 22: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Section 2Add live data

Page 23: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Why do we need a backend?

Page 24: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Many options here too…

Page 25: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

We’re going to usean API Backend today!

Page 26: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 27: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 28: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 29: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

ServerInfrastructure

AppCode SDK API

Page 30: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Even in API Backends,there are plenty of alternatives!

Page 31: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Apigee App Servicesvs. Usergrid

Page 33: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Add some data

Page 34: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

SDKs available for…JS, node.js, iOS, Android, Ruby, Rails,C#, Python, PHP, Java, WP8, etc.

Page 35: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Explore the SDKj.mp/apigee-js-sdk

Page 36: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Add some view code

Page 37: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Answerj.mp/apigee-read

Page 38: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Section 3Run on mobile!

Page 39: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 40: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Apache Cordovavs.Adobe PhoneGap

Page 41: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Androidj.mp/phonegap-android-guideiOS, Windows Phonej.mp/cordova-26-getstarted

Page 42: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Add your HTML

Page 43: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Run!

Page 44: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

What runs where?

Page 45: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

PhoneGap Build

Page 46: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Congrats!

Page 47: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

What else could you do next?

Page 48: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Write DataMultiple PagesPush NotificationsFile StorageSocial GraphLocal capabilities3rd-party integrationLegacy integrationCode execution

Page 49: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Ask for help!Announce projects!j.mp/app-craftSign up now :)

Page 50: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Great for prototyping,works at scale too!

Page 51: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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)

Page 52: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 53: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 54: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 55: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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

Page 56: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

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.

Page 57: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

SDKs available for…JS, node.js, iOS, Android, Ruby, Rails,C#, Python, PHP, Java, WP8, etc.

Page 58: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Ask for help!Announce projects!j.mp/app-craftSign up now :)

Page 59: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Get more trainingAdvanced class?Training for your company? Still [email protected]

Page 60: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Apigee is hiring (all around the world)j.mp/apigee-cs-jobs

Page 61: Build your first mobile app with HTML5 & an API Backendpages.apigee.com/rs/apigee/images/app-in-3-hours-webcast.pdf · Build your first mobile app with HTML5 & an API Backend 1

Congrats!If you liked it,post it on Twitter/LinkedIn :)@apigee @timangladej.mp/app-craft