36
The future is hybrid ...or is it?

The future is hybrid

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: The future is hybrid

The future is hybrid...or is it?

Page 2: The future is hybrid

Hi there!

Page 3: The future is hybrid

The future is user-focused

Page 4: The future is hybrid

The future is user-focused

Page 5: The future is hybrid

What we’ll cover

0. Prologue1. Firefox OS2. Web APIs3. Phonegap4. Web Components

Page 6: The future is hybrid

What are apps?

“native” Apps● in the App stores● home screen icon● work offline● fully-featured● custom UI

Web apps● in the App stores ✓*● home screen icon ✓● work offline ✓● fully-featured ✓*● custom UI ✓

Page 7: The future is hybrid

Use the web, Luke

Page 8: The future is hybrid

1. Firefox OS

The web is the platform

● Standard APIs for all features● Fully open● Open Web Apps

Page 9: The future is hybrid

1. Firefox OS

The $100 smartphone?

69€ $129 90€

Page 10: The future is hybrid

1. Firefox OS - the open experience

Search the web

See if you like it

Install it

Page 11: The future is hybrid

1. Firefox OS - the web experience

Search the web

See if you like it

Install it

Page 12: The future is hybrid

1. Firefox OS - Open web apps

Hosted / Packaged appsMinimal: Your website + Manifest

Privileged appsMinimal: Your app, signed

Certified appsMinimal: Certified by OEMs

Page 13: The future is hybrid

1. Firefox OS - Manifest?{

name: “Hello FOWA”,

description: “A simple web app”,

...

}

Page 14: The future is hybrid

1. Firefox OS - Web activities

Page 15: The future is hybrid

2. Web APIs

https://developer.mozilla.org/en-US/docs/WebAPI

Ambient Light

ProximityBattery Status

Vibration

WebFM

Idle

Contacts

Web Payments Network Info

Notifications

Storage

Bluetooth

Page 16: The future is hybrid

3.

What if you want that today?

Page 17: The future is hybrid

3. PhoneGap

You can have it today!

Page 18: The future is hybrid

Web vs. App - FIGHT!

Thanks for that, @alexanderpeh

Page 19: The future is hybrid

Why fight?

Page 20: The future is hybrid

What’s hybrid?

Page 21: The future is hybrid

3. PhoneGap

Your web app+

native APIs+

installable App=

APPsomeness!

Page 22: The future is hybrid

Get your hands on it

Locally:<Setup SDKs> npm install -g cordova

cordova create helloapp && cd helloapp

cordova platform add <platform>

cordova build -d

Deploy!

Page 23: The future is hybrid

Get your hands on it - even easier!

build.phonegap.com

Page 24: The future is hybrid

Caution, speed bumps ahead..

Page 25: The future is hybrid

Caution, speed bumps ahead..

1. Do not just wrap your web(site | app)

2. Test test test and test!

3. Expect the unexpecteda. Rendering performance

b. Feature support

c. Click vs. Touch

4. Did I mention “TEST”?

Page 26: The future is hybrid

And now...

The super-quick-live-coding™

Page 27: The future is hybrid
Page 28: The future is hybrid

4. Web components

Page 29: The future is hybrid

4. Web components

Build your own HTML elements

Page 30: The future is hybrid

4. Web components

Build your own HTML elementsusing HTML, CSS and Javascript

Page 31: The future is hybrid

4. Web components

Page 32: The future is hybrid

4. Web components

Welcome to the future, today!

Oh - and for the others:

X-Tags, Polymer

Page 33: The future is hybrid

4. Web components

So, what can we do?● easily reuse components ● speed up the web evolution● open up the web

Page 34: The future is hybrid

4. Web components

Meet the AppMakerappmaker.mozillalabs.com

Page 35: The future is hybrid

4. Web components

Let’s build one now!The super-quick-live-coding™

Vol. II

Page 36: The future is hybrid

</body>

Thank you for listening

Questions, please!