Instalable web applications

Firefox OS primer

Ivan Dejanovic


twitter: https://twitter.com/ivan_dejanovic

github: https://github.com/ivandejanovic/

What this talk is not about

  • This talk is not about Firefox OS. I will give some info but will not go into details.
  • This talk is not here to convince you that Firefox OS and installable web applications are one size fit all solution for you problems.

What this talk is about

  • Giving you introduction to installable web applications.
  • Showing you on practical examples how you might develop them yourself.
  • Hopefully giving you information which will help you decide when they are useful in your projects.

Portability is the key

Web to the rescue

Native applications issues

  • Users can not use same application on different platforms.
  • Developers don't want to make different application for different platform.
  • Downloading and installing applications is not simple.
  • Updates are not always automatic. Users need to download or accept update.

Web applications issues

  • Application discovery. Urls are still hard for regular people to wrap their head around.
  • Remembering, bookmarking urls is hard.
  • Offline availability.
  • Users use web applications like they are native. They don't understand the distinction.

Instalable web applications

http://www.w3.org/TR/appmanifest/

https://w3c-webmob.github.io/installable-webapps/

Chrome Extensions

https://developer.chrome.com/extensions

Firefox OS info

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS

 

https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS/Platform/Architecture

Firefox OS applications

https://developer.mozilla.org/en-US/Apps/Build/Building_apps_for_Firefox_OS

Hosted applications

  • You can distribute them right from your website. No need for marketplace.
  • Can push updates at will.
  • Need to have offline built-in.
  • Can't access all of the apis.

Packaged applications

  • Need to distribute them through marketplace.
  • Updates need to be reviewed.
  • Offline functionality is built-in. Sort of.
  • Can access all of the apis.

Demos

Packaged application

Hosted application

Deploying to marketplace

Try it for yourself

https://github.com/ivandejanovic/

https://github.com/robnyman/Firefox-OS-Boilerplate-App

https://github.com/webapplate/webapplate

Installable web applications Firefox OS primer

By Ivan Dejanovic

Installable web applications Firefox OS primer

  • 597