firefox os, web apis & hybrid application

42
FOSSASIA 2016 Firefox OS, Web APIs and Hybrid Application 1 FOSSASIA 2016 Rizky Ariestiyansyah Mozilla Tech Speaker

Upload: rizky-ariestiyansyah

Post on 10-Feb-2017

330 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Firefox OS, Web APIs and Hybrid Application

1

FOSSASIA 2016

Rizky Ariestiyansyah Mozilla Tech Speaker

Page 2: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

About me

2

Rizky Ariestiyansyah @ariestiyansyah Mozilla Tech Speaker

CTO at

Page 3: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Mozilla Mission

3

Page 4: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Mozilla Mission

To ensure the Internet is a global public resource open and accessible to all.

4

Page 5: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Mozilla Vision

An Internet that truly puts people first. An Internet where individuals can shape their own experience. An Internet where people are empowered, safe and independent.

5

Page 6: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Mozilla Role

Mozilla is a true advocate for you in your online life. We advocate for you both within your online experience & on your behalf for the health of the Internet.

6

Page 7: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016 7

Let’s talk about Firefox OS

Page 8: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Firefox OS - where we come from

8

Initiated in 2011 by :gal, :cjones

Built with Gecko, HTML, CSS and JS because we can

Bringing the next billion of users online

Cheap smartphones

Page 9: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016 9

Page 10: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Firefox OS current version - v2.5

10

Privacy Personalized

• Replaceable Homescreens • Save to Home • Add-ons

Voice Control APIs ….

Page 11: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

PRIVACY

11

We’ve always designed products to protect and respect your private information.

Page 12: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

PRIVATE BROWSING

12

Allows you to browse the Internet without saving any information about which sites and pages you’ve visited.

Page 13: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

TRACKING PROTECTION

13

Tracking Protection allows you to take control of your privacy online. Tracking Protection feature puts the control back in your hands by actively blocking domains and sites that are known to track users.

Page 14: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016 14

Let’s get real now!

Page 15: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Firefox OS - Current status

15

Firefox OS is dead for smartphones after v2.6

Page 16: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Marketplace - Current status

16

“As of March 29, 2016, Marketplace will no longer accept submissions for Android, Desktop and Tablet, and will remove all apps that don’t support Firefox OS.”

Free Firefox OS Apps up to 2017

Page 17: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Firefox OS - Future

17

Community is asking to maintain Firefox OS and the name will be change to B2G OS

Page 18: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016 18

The Future

Page 19: Firefox OS, Web APIs & Hybrid Application

Internet of Things

Page 20: Firefox OS, Web APIs & Hybrid Application

Home Wearables Automotive

Industry (Accenture,

Cisco)Infrastructure

Internet of Things Categories

Page 21: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016 21

Let’s Focus on the WEB

Page 22: Firefox OS, Web APIs & Hybrid Application

Web APIsAPI is a set of functions and procedures that allow the creation of applications which

access the features or data of an operating system, application, or other service.

WebAPI ? Web API is an application programming interface (API) for either a web server or a

web browser.

Page 23: Firefox OS, Web APIs & Hybrid Application

WebSocketsWebSockets is an advanced technology that makes it possible to open an interactive communication session between the user's browser and a server.

With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

Page 24: Firefox OS, Web APIs & Hybrid Application

WebSockets Showcase

http://www.websocket.org/demos/racer/run/

Page 25: Firefox OS, Web APIs & Hybrid Application

WebGLWebGL (Web Graphics Library) is a JavaScript API for rendering interactive 3D computer graphics and 2D graphics within any compatible web browser without the use of plug-ins.

https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API

Page 26: Firefox OS, Web APIs & Hybrid Application

WebGL Showcase

https://dl.dropboxusercontent.com/u/62064441/ioquake3.js/ioquake3.html

Page 27: Firefox OS, Web APIs & Hybrid Application

Web RTCWebRTC (where RTC stands for Real-Time Communications) is a technology that enables audio/video streaming and data sharing between browser clients (peers).

https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API

Page 28: Firefox OS, Web APIs & Hybrid Application

WebRTC Showcase

Page 29: Firefox OS, Web APIs & Hybrid Application

WebVRVirtual reality is an artificial environment that is created with software and presented to the user in such a way that the user suspends belief and accepts it as a real environment.

WebVR is an experimental Javascript API that provides access to Virtual Reality devices, such as the Oculus Rift or Google Cardboard, in your browser.

https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API

Page 30: Firefox OS, Web APIs & Hybrid Application

WebVR Showcase

Page 31: Firefox OS, Web APIs & Hybrid Application

WebVTTVirtual reality is an artificial environment that is created with software and presented to the user in such a way that the user suspends belief and accepts it as a real environment.

WebVR is an experimental Javascript API that provides access to Virtual Reality devices, such as the Oculus Rift or Google Cardboard, in your browser.

https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API

Page 32: Firefox OS, Web APIs & Hybrid Application

WebVTT Showcase

http://oonlab.com/WebVTT/

Page 33: Firefox OS, Web APIs & Hybrid Application

Mozilla Corporation Confidential - Internal Use OnlyMozilla Corporation Confidential - Internal Use Only

Page 34: Firefox OS, Web APIs & Hybrid Application

Web APIs Resources

https://developer.mozilla.org/en-US/docs/Web/API

http://developer.mozilla.org

Page 35: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Hybrid Application

35

Page 36: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Pros

36

Allow a single version to be developed and run on multiple platform WORA (Write Once Run Anywhere)

Maybe update instantly on the server side for rapid development

Low Cost for development

..Pros and Cons!

Page 37: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Cons

37

Require internet connection to function

Maybe update instantly on the server side for rapid development

User experience is far stretch

..Pros and Cons!

Page 38: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Framework for Hybrid App

38

http://stackshare.io/cross-platform-mobile-development

Page 39: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

What’s next?

39

Page 40: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

You can help!

40

Have an idea for an exploration? there is nobody stopping you, go for it! we can help!

Don’t wait for permission to use the Web as a platform!

Let’s organize a meetup/hackathon in your country to explore!

Page 41: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Join Us! mzl.la/fossasia16

41

Page 42: Firefox OS, Web APIs & Hybrid Application

FOSSASIA 2016

Thank You @ariestiyansyah

oonlab.com42