79

The state of packaged web apps

Embed Size (px)

Citation preview

Page 1: The state of packaged web apps
Page 2: The state of packaged web apps

Developer evangelist

Page 3: The state of packaged web apps

Hacker advocate

Page 4: The state of packaged web apps

Developer

emberads!

Page 5: The state of packaged web apps

Extensions for Paypal, EMberads, Minutebox

Page 6: The state of packaged web apps
Page 7: The state of packaged web apps
Page 8: The state of packaged web apps
Page 9: The state of packaged web apps
Page 10: The state of packaged web apps
Page 11: The state of packaged web apps

Chrome extensions developer.chrome.com/extensions

Firefox addons developer.mozilla.org/en/docs/Extensions

Page 12: The state of packaged web apps

Chrome packaged apps developer.chrome.com/apps/

FF OS priviliged apps Bit.ly/priviliged_apps

Page 13: The state of packaged web apps

Opera/safari extensions phonegap

Page 14: The state of packaged web apps

Pros • Native experience • Deeper integration with os • Works offline • Always there cons • Differences in apis • Approval processes • Js mvcs

Page 15: The state of packaged web apps
Page 16: The state of packaged web apps

h"p://developer.chrome.com/apps/app_architecture.html  

Page 17: The state of packaged web apps
Page 18: The state of packaged web apps

client  

network  

server   Server  side  code  

data   resources  

Regular web apps

Page 19: The state of packaged web apps

web  app  

transport  

server   Server  side  code  

data  

data  

resources  

resources  

Regular web apps cons • High bandwidth transfer • Won’t work offline • Limited apis pros • No JS required • Deploy once

Page 20: The state of packaged web apps

“One of the many super outcomes of the HTML5 evolution is that browser vendors are striving towards interoperability – even Microsoft is talking of “same markup”

Bruce lawson, 2011

Page 21: The state of packaged web apps

client  

web  app  

tcp/ip  

server   Server  side  code  

data  

storage  

resources  

app  cache  

Installable web apps

Page 22: The state of packaged web apps

client  

web  app  

tcp/ip  

server   Server  side  code  

data  

storage  

resources  

app  cache  

Installable web apps

Page 23: The state of packaged web apps

Installable web apps

Chrome hosted apps developers.google.com/chrome/apps

firefox os apps developer.mozilla.org/en/docs/Mozilla/Firefox_OS

Page 24: The state of packaged web apps

web  app  

transport  

server   Server  side  code  

data  

data  

resources  

resources  

Regular web apps cons • Caching expiry is a pita • Limited apis Pros • Lower bandwith requirements • can work offline

Page 25: The state of packaged web apps

zip

client  

web  app  

transport  

server   Server  side  code  

data  

storage   resources  

Packaged web apps

Page 26: The state of packaged web apps

zip

client  

web  app  

transport  

server   Server  side  code  

data  

storage   resources  

Packaged web apps

Page 27: The state of packaged web apps

Packaged web apps

Chrome extensions developer.chrome.com/extensions

Firefox addons developer.mozilla.org/en/docs/Extensions

Page 28: The state of packaged web apps

Packaged web apps

Opera extensions phonegap

Page 29: The state of packaged web apps

Packaged web apps

Chrome packaged apps developer.chrome.com/apps/

FF OS priviliged apps Bit.ly/priviliged_apps

Page 30: The state of packaged web apps

web  app  

transport  

server   Server  side  code  

data  

data  

resources  

resources  

Regular web apps cons • Requires install • Requires js • syncing Pros • Low bandwith requirements • Works offline • Advanced apis

Page 31: The state of packaged web apps

Painless Payments for Droids Tim Messerschmidt

Page 32: The state of packaged web apps

manifests

Page 33: The state of packaged web apps

Chrome extensions

Page 34: The state of packaged web apps

Chrome packaged apps

Page 35: The state of packaged web apps

Firefox open web apps

Page 36: The state of packaged web apps

Firefox mini manifest

Page 37: The state of packaged web apps

Standards?

Page 38: The state of packaged web apps
Page 39: The state of packaged web apps

W3c widgets

Page 40: The state of packaged web apps
Page 41: The state of packaged web apps

Opera extensions Before they moved to using chrome

Page 42: The state of packaged web apps

packages

Page 43: The state of packaged web apps

.crx 7-Zip file with a json manifest

Page 44: The state of packaged web apps

.xpi Zip file with a json manifest

And the entire SDK

Page 45: The state of packaged web apps
Page 46: The state of packaged web apps
Page 47: The state of packaged web apps

Chrome extensions ui

Page 48: The state of packaged web apps

Chrome extensions ui

Page 49: The state of packaged web apps

Chrome extensions ui

Page 50: The state of packaged web apps

Firefox addons ui

Page 51: The state of packaged web apps
Page 52: The state of packaged web apps

Chrome packaged apps

Page 53: The state of packaged web apps

Chrome packaged apps

Page 54: The state of packaged web apps

Chrome packaged apps

Page 55: The state of packaged web apps

storage

Page 56: The state of packaged web apps

Html5 local storage + indexeddb

Page 57: The state of packaged web apps

Chrome storage api

Page 58: The state of packaged web apps

Other api differences

Page 59: The state of packaged web apps

Message passing

Page 60: The state of packaged web apps

Disk access

Page 61: The state of packaged web apps

Bluetooth/usb access

Page 62: The state of packaged web apps
Page 63: The state of packaged web apps

Zip + upload == live

Page 64: The state of packaged web apps

Zip + upload == approval process

Page 65: The state of packaged web apps

Minimized JS

Page 66: The state of packaged web apps
Page 67: The state of packaged web apps

Custom jquery version

Page 68: The state of packaged web apps
Page 69: The state of packaged web apps

Sign on credentials

Page 70: The state of packaged web apps
Page 71: The state of packaged web apps

Early days

Page 72: The state of packaged web apps

Standards are to evolved

Page 73: The state of packaged web apps

Client side JS MVCs are still young

Page 74: The state of packaged web apps

Benefits are tempting

Page 75: The state of packaged web apps

Mobile?

Page 76: The state of packaged web apps
Page 77: The state of packaged web apps

chrome developer.chrome.com

firefox Developer.mozilla.org

Page 78: The state of packaged web apps

Try making your own and tell me

Page 79: The state of packaged web apps