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

Building Progressive Web Apps & Use The Platfor...

Building Progressive Web Apps & Use The Platform to build a Better Web

Event: Tech Talk Thursday with Google and GDGKL: Firebase, PWA, Polymer & Angular

Topic: Polymer, PWA

Henry Lim

July 14, 2016
Tweet

More Decks by Henry Lim

Other Decks in Technology

Transcript

  1. Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis

    non erat sem #GDGKL https://upload.wikimedia.org/wikipedia/commons/e/eb/Interior_-_Pullman_trolleybus.jpg
  2. Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis

    non erat sem #GDGKL https://upload.wikimedia.org/wikipedia/commons/6/67/Qatar_Airways_Boeing_777-200LR_Business_Class_cabin_Beltyukov.jpg
  3. #GDGKL { "short_name": "Kinlan's Amaze App", "name": "Kinlan's Amazing Application

    ++", "icons": [ { "src": "launcher-icon-2x.png", "sizes": "96x96", "type": "image/png" }, { "src": "launcher-icon-4x.png", "sizes": "192x192", "type": "image/png" } ], "start_url": "/index.html", "display": "standalone", "orientation": "landscape" }
  4. I forgot to talk about devtools Can I talk until

    2am? * i really didnt design this slide… eh purposely
  5. #GDGKL What’s next? Web Bluetooth Web VR RAIL FLIP 60FPS

    DevTools Go watch all the videos from #io16 and #pwadevsummit
  6. #GDGKL Credit / Source Chrome Team Paul Kinlan Paul Lewis

    Jake Archibald Surma Dion Almaer Bruce Lawson Pete Lepage Addy Osmani Sam Dutton Bok Thye Yeow Bangalore: Progressive Web Apps - goo.gl/XiX8vU Offline-o-saurus Who else?
  7. #GDGKL Web is useless so you need Javascript * i

    didn’t use Javascript to create that animation...
  8. <html> <head> <!-- remember to add webcomponents-lite.min.js --> <link rel="import"

    href="polymer-button.html"> </head> <body> </body> </html> index.html
  9. <html> <head> <!-- remember to add webcomponents-lite.min.js --> <link rel="import"

    href="polymer-button.html"> </head> <body> <polymer-button></polymer-button> </body> </html> index.html
  10. <link rel="import" href="../polymer/polymer.html"> <dom-module id="polymer-button"> // put whatever you want

    here </dom-module> <script> Polymer({ is : ‘polymer-button’ }) </script> polymer-button.html
  11. #GDGKL Polymer App Toolbox a collection of components, tools and

    templates for building Progressive Web Apps with Polymer.
  12. #GDGKL What you have done: - Progressive Web Apps -

    Offline - Responsive - PRPL Pattern (Push, Render, Pre-cache, Lazy-Load)
  13. #GDGKL PRPL Pattern - Push components required for the initial

    route - Render initial route ASAP - Pre-cache components for remaining routes - Lazy-load and progressively upgrade next routes on-demand
  14. #GDGKL Credit / Source Chrome Team Polymer Team Rob Dodson

    Taylor Savage Michael Bleigh Bok Thye Yeow Polytechnic Who else?
  15. Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis

    non erat sem #GDGKL Find us on Facebook & Twitter fb.me/GDGKualaLumpur facebook.com/groups/gtugkl twitter.com/gdgkl
  16. Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis

    non erat sem #GDGKL Google I/O Extended Kuala Lumpur 2016 30 July 2016, Kuala Lumpur