Leveraging Modern Device Features From the Web @ NationJS

Leveraging Modern Device Features From the Web @ NationJS

Your website is unresponsive, your cookie size is through the roof. Your competitors have come out with native apps which are flashy and zippy, and they’re eating into your market share. Is it time to drop your website for a native application? Instead of abandoning the web, wouldn’t it be great if you could just spawn a background thread to increase responsiveness, delete some of those cookies and store preferences on the filesystem, and access the accelerometer to get that nifty parallax motion effect — all from the browser? In this talk, you’ll learn to do just that — to spawn threads, save local settings, store your site’s code locally, access a camera and microphone, read accelerometer data, and more! You’ll not only see code samples, but you’ll see working examples designed to get your site off the ground.

2e055eb589fb86174fd268748b0fcd30?s=128

Andrew Dunkman

November 08, 2014
Tweet

Transcript

  1. Modern Device Features Andrew Dunkman @adunkman Leveraging From the Web

  2. None
  3. None
  4. None
  5. Web Apps U G H EXIT 90

  6. Web Apps U G H EXIT 90 Native Apps W

    T F EXIT 91
  7. None
  8. None
  9. Web Apps U G H EXIT 90

  10. Web Apps U G H EXIT 90 Desktop Apps R

    L Y EXIT 92
  11. None
  12. SPEC WORK

  13. getUserMedia WebRTC Peer Connection Ambient Light Notification Battery Orientation Geolocation

    Service Workers Web Workers File, FileList IndexedDB AppCache Local, Session Storage
  14. Modern Device Features Geolocation

  15. Modern Device Features Ambient Light

  16. Modern Device Features getUserMedia

  17. Modern Device Features Orientation

  18. Modern Device Features Battery

  19. Modern Device Features Notification

  20. Modern Device Features File, FileList

  21. Modern Device Features Local, Session Storage

  22. Modern Device Features Web Workers

  23. Modern Device Features Service Workers

  24. Modern Device Features IndexedDB

  25. Modern Device Features WebRTC Peer Connection

  26. Modern Device Features WebRTC Peer Connection talky.io

  27. Modern Device Features AppCache

  28. Modern Device Features AppCache Please don’t.

  29. getUserMedia WebRTC Peer Connection Ambient Light Notification Battery Orientation Geolocation

    Service Workers Web Workers File, FileList IndexedDB AppCache Local, Session Storage
  30. getUserMedia WebRTC Peer Connection Ambient Light Notification Battery Orientation Geolocation

    Service Workers Web Workers File, FileList IndexedDB AppCache Local, Session Storage
  31. Modern Device Features Andrew Dunkman @adunkman Leveraging From the Web

  32. Modern Device Features Andrew Dunkman @adunkman Leveraging From the Web

    Demos: http://git.io/SrtVXA Slides: http://bit.ly/1Avm9Lk