Top Banner
PROGRESSIVE WEB APPS
29

Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Apr 11, 2017

Download

Data & Analytics

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

PROGRESSIVE WEB APPS

Page 2: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

UI Engineer @ NAMSHI.com

I am SHIDHIN

Hello!

Page 3: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

PROGRESSIVE WEB APPS

Page 4: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Year 2012 ~ 2016

Page 5: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Why Apps ?

○Great performance

○Smooth animations and interactions

○ Instant loading and offline support

○Easily accessible from home screen

Page 6: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Cons ?○ Installation time

○Updating is a pain

○Not sharable

○Dealing with low memory phones

Page 7: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

A new Species

Page 8: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

○ Installable ( but still sharable using urls )

○Can work offline and handle flaky connections

○Can give push notifications

○ Instant loading like native apps, and probably use splash screens

○Great rendering performance and silky smooth animations under 60fps.

○And still work as a normal web app from a URL

Page 9: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

PROGRESSIVE WEB APP

Apply the super-powers progressively

Page 10: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

WEB APPS

○Secure

○Good rendering performance

○Smooth Animations

Page 11: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

PROGRESSIVE

○Offline support and instant loading

○Push notifications

○Add to Homescreen

Page 12: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Ingredients

Page 13: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

○ A Service Worker

○ Web Manifest

○ High Performing App

○ And YOU

Page 14: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

○Promise based JavaScript worker

○Programmable network proxy

○Enables push notifications

○Requires HTTPs

SERVICE WORKER

Page 15: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Intercepting requests

Page 16: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

○ Tell the browser how to launch the web app

○ Simple JSON configuration

WEB APP MANIFEST

Page 17: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

Manifest JSON

Page 18: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai
Page 19: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

○Smooth Animations

○Better Frameworks

○Always Profile your App

WEB APP PERFORMANCE

Page 20: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

“Chrome DevTool is Your Best Friend

More on developers.google.com/web

Page 21: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

TOOLING

Page 23: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

“REAL WORLD PWAs

Page 24: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

FLIPKART LITE

Flipkart is the most popular E-commerce website in India

Page 25: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

POKEDEX.ORG

An index of Pokémon, built as a client-side JavaScript webapp. Powered by ServiceWorker, PouchDB, virtual-dom, and web workers.

Page 26: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

FLIPBOARD

Flipboard is a social-network aggregation, magazine-format mobile app localized in more than 20 languages

Page 27: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

FUTURE ?

Page 28: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

HTML Streaming

HTTP 2

Content Security Policies

Page 29: Progressive Web Apps ( PWA ) by Shidhin C R at Codemtion Dubai

THANKS!

@shidhincrwww.undefinednull.com