Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Importance of Firefox OS - GOTO Nights

The Importance of Firefox OS - GOTO Nights

Sergi Mansilla

November 21, 2013
Tweet

More Decks by Sergi Mansilla

Other Decks in Technology

Transcript

  1. @sergimansilla
    November 2013
    The importance of Firefox OS

    View Slide

  2. View Slide

  3. @sergimansilla

    View Slide

  4. http:/
    /github.com/sergi

    View Slide

  5. Previously

    View Slide

  6. Previously

    View Slide

  7. View Slide

  8. We have problems

    View Slide

  9. Write once...run once
    Incompatible APIs
    Store restrictions

    View Slide

  10. View Slide

  11. The user suffers

    View Slide

  12. HTML5

    View Slide

  13. set of technologies
    and tools

    View Slide

  14. IndexedDB
    ASM.js
    Offline

    View Slide

  15. Ubiquity

    View Slide

  16. Standard APIs

    View Slide

  17. Less fragmentation

    View Slide

  18. View Slide

  19. Bulls**t argument #1
    Performance

    View Slide

  20. http:/
    /youtu.be/wCn3R3-XxBU
    Fastbook

    View Slide

  21. Unreal engine
    http:/
    /youtu.be/BV32Cs_CMqo

    View Slide

  22. Bulls**t argument #2
    JavaScript

    View Slide

  23. JavaScript?

    View Slide

  24. ES6
    Modules
    Classes
    Block Scoping
    Iterators
    Proxies
    Generators
    Templates
    Arrow Functions
    Spread
    Weak Maps
    Maps and Sets
    Array Comprehensions
    Destructuring
    Proper Tail Calls
    Binary Data
    Default Parameters
    Rest Parameters
    Symbols

    View Slide

  25. Dart
    ClojureScript
    TypeScript
    Objective-J
    Opa
    LiveScript
    CoffeeScript
    Haxe
    Elm
    Wisp
    Roy

    View Slide

  26. 269 languages
    http:/
    /altjs.org/

    View Slide

  27. Bulls**t argument #3
    Looks

    View Slide

  28. Real argument #1
    Phone APIs
    (Or the lack of them)

    View Slide

  29. View Slide

  30. View Slide

  31. Remember 2000s?

    View Slide

  32. New mobile OS
    Leverages open web
    WebAPI standards
    No walled gardens

    View Slide

  33. Reuse any website
    Use Web APIs

    View Slide

  34. Creating a Firefox OS app
    index.html

    View Slide

  35. manifest.webapp
    Creating a Firefox OS app

    View Slide

  36. manifest.webapp
    Creating a Firefox OS app

    View Slide

  37. Hosted and Privileged
    Apps

    View Slide

  38. Hosted APIs
    Vibration (W3C)
    Screen Orientation (W3C)
    Geolocation (W3C)
    Mouse Lock (W3C)
    Open WebApps
    Network Information (W3C)
    Battery Status (W3C)
    Web Activities
    Simple Push (W3C)
    WebFM
    WebPayment
    IndexedDB (W3C)
    Ambient light sensor
    Proximity sensor
    Notification

    View Slide

  39. Privileged APIs
    Device Storage
    Browser

    TCP Socket
    Contacts (W3C)
    systemXHR
    Camera

    View Slide

  40. Certified APIs
    WebTelephony
    WebSMS

    Idle (W3C)

    Settings

    Power Management
    Voicemail
    Mobile Connection
    WiFi Information
    WebBluetooth Permissions
    Network Stats
    Time/Clock

    View Slide

  41. Notifications

    View Slide

  42. Send an SMS

    View Slide

  43. Vibrate

    View Slide

  44. Vibrate

    View Slide

  45. Set permissions

    View Slide

  46. Mozactivities

    View Slide

  47. Mozactivities

    View Slide

  48. Developer tools

    View Slide

  49. Devtools video!

    View Slide

  50. Developer bliss

    View Slide

  51. http:/
    /buildingfirefoxos.com/
    Start now!

    View Slide

  52. http:/
    /mozilla.github.io/brick/
    Start now!

    View Slide

  53. http:/
    /mozilla.github.io/brick/
    Start now!

    View Slide

  54. marketplace.firefox.com/developers/

    View Slide

  55. github.com/comoyo/ffos-list-detail

    View Slide

  56. https:/
    /github.com/comoyo/Firefox-OS-training

    View Slide

  57. It works on Android!

    View Slide

  58. Firefox OS countries
    Serbia
    Hungary
    Poland
    Brazil
    Venezuela
    Colombia
    Montenegro
    Spain
    Peru
    Mexico
    Uruguay
    Germany
    Greece
    SouthEast Asia
    Current Planned 2014

    View Slide

  59. Firefox OS Sales
    Phones were introduced
    in July by Telefonica

    Sales in Venezuela: 12%
    Sales in Colombia: 9%
    http:/
    /bit.ly/1aPiIfp

    View Slide

  60. Thanks!
    You can find this presentation at https:/
    /speakerdeck.com/sergi
    sergi
    [email protected]
    @sergimansilla

    View Slide