Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

25
FirefoxOS: The Web, Mobile Daniel Appelquist (@torgo) Open Web Advocate, Telefónica Digital

description

Dan Appelquist talk about Firefox OS for BBC News Labs tech talks. Weds 29th August 2013 in The Media Cafe in BBC Broadcast Centre.

Transcript of Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Page 1: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

FirefoxOS: The Web, MobileDaniel Appelquist (@torgo)Open Web Advocate, Telefónica Digital

Page 2: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

What a difference 5 years makes

-Me in 2008 (http://www.slideshare.net/dappelquist/web2-expo-sf2008-appelquist/)

Page 3: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

The Web is Mobile

Image from Brad Frost (http://bradfrostweb.com)

Page 4: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

..but● Web apps are still second class citizens on

smart phones● Great confusion about the difference

between apps and Web● Consumers being driven towards apps● In the process, we are losing what the Web

has given us: interoperability, freedom, openness, choice

Page 5: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

(Native) Apps vs. Web

Yawn

Page 6: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

(Native) Apps vs. Web● Web has been a browser based experience● Web has not had access to device APIs● Web has not been very good with touch● Techniques for responsive UX have not

been developed● JavaScript frameworks have been oriented

towards desktop

...but now the Web is catching up

Page 7: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Apps Remind me of Something

Page 8: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

App Fatigue is Setting In● How many apps do you use regularly?

Where is your apps graveyard?● Do apps really make sense for news?

Really?● Social content consumption and sharing

zings you between apps and Web● Door-slams● What value is an app store bringing between

users and services?● App stores remind me of pre-Web thinking

Page 9: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

...but the Web has something to learn from Apps● People like apps● Emotive feeling of ownership● Having an install step conveys meaning:

additional privileges, expectations of use● Offline operation● Access to more APIs = richer experience● Touch UI is different from mouse-driven UI

Page 10: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

The Web has Staying Power● Built on (open, royalty-free) standards● International community of implementers● Open to all content providers, open to all

developers● Don't like it? Fork it.● People choose the Web because the Web

gives people a choice● Solid architectural foundation

Page 11: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Identification: URLTransport: HTTPMeaning: HTMLInteraction: DOM+JavaScript+APIsStyle: CSS

What is the Architecture of the Web?(unofficial)

Page 12: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Credit: P

aul Dow

neyhttp://blog.w

hatfettle.com/2008/10/06/the-uri-is-the-thing/

Page 13: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

What could a Web Future Look Like?● Web apps can be used in the browser or installed● Visit a Web page, it might ask you "do you want me to

install as an app?"● Installed Web apps can pop up in a chromeless view

and can access privileged APIs● Plethora of (Web-based) app stores available, or buy

apps direct from publisher● Web apps that invoke telephony functions● Privacy-enabled● Apps built with responsive design across device types

and form factors

Page 14: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Firefox OS● A phone built by the people who

brought you the Web● All apps are Web apps (including

dialer, camera, etc...)● All applications built on top of Firefox

engine (Boot to gecko)● Everything open source - open for

tinkering● Yes, a Marketplace (for "privileged"

apps)● Optimized for low-end smart phones● Geeksphone keon / peak developer

preview phones● ZTE, Alcatel phones released

Page 15: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Page 16: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Bridging the Gap● New APIs allow access to accelerometer,

camera, address book, calendar, telephony (making calls), etc...

● New security model for privileged webapps● Hosted apps and packaged apps● Both can be used off-line● Icons represent webapps to the user● Curated app store from Mozilla - or roll your

own

Page 17: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Blurring the Lines● Why should an app on your phone be

different from the Web?● How can a WebApp dip into your personal

information and use your camera in a secure way?

● Is a chromeless WebApp still "The Web"?● Is a packaged WebApp still "The Web"?● How can I tell when I can expect to use an

app off-line?

Page 18: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Everything.me Integration● Unique search interface for

apps● "Try before you buy"

approach to discovery● Integrated into Firefox OS

Page 19: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Some Challenges Still...● Security - beyond the browser sandbox● Protecting user privacy when apps can

access private data - what is the right balance?

● WebRTC - in Beta● Platform optimization● Appcache / offline operation

Page 20: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Why Telefónica Digital?● Easier app development across platforms =

better apps● Lower cost handsets = more people using

them● Google/Apple Appstore duopoly = bad for

developers, bad (in the long run) for innovation

● Bringing a fresh approach = disruptive● "Open Innovation"

Page 21: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Working with StandardsThis is the Web. I know this.

W3C: HTML5, WebApps, Geolocation, Sysapps, WebRTC, Community Groups

Privileged APIs (e.g. Telephony), Packaging, Improving Appcache, Touch Events, Push

Page 22: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

W3C Responsive Images Community GroupA group working on a solution for images in responsive design

http://www.w3.org/community/respimg/

<picture alt="Description of image subject.">

<source srcset="small.jpg 1x, small-highres.jpg 2x">

<source media="(min-width: 18em)" srcset="med.jpg 1x, med-highres.jpg 2x"> <source

media="(min-width: 45em)" srcset="large.jpg 1x, large-highres.jpg 2x"> <img src="

small.jpg" alt="Description of image subject."> </picture>

A proposed syntax and a polyfill ("picturefill") on GitHub

Page 23: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

W3C Extensible Web Effort● New idea for extending the capabilities of the

Web● Community Group here:

○ http://www.w3.org/community/nextweb/● Manifesto here:

○ http://extensiblewebmanifesto.org

Page 24: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Some Resourcesdeveloper.mozilla.org/en/docs/Mozilla/Firefox_OS

Info from Mozilla on the Firefox OS projectOpenWebDevice.com

Info from Telefónica on the Firefox OS projectBuildingFirefoxOS.com

Building blocks to help you create appsw3.org

World Wide Web Consortium join the conversation

Page 25: Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"

Challenge!

Dan Appelquist@torgo

@tefdigital