Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PWA: Web app con super poderes
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mariano Alvarez
November 23, 2019
Programming
65
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PWA: Web app con super poderes
Mariano Alvarez
November 23, 2019
More Decks by Mariano Alvarez
See All by Mariano Alvarez
Vainilla Redux
mahcr
0
72
Web Workers
mahcr
0
38
Redux - NgRx v8
mahcr
0
87
AMP ¿Como iniciar?
mahcr
0
59
Volando_con_el_Assistant.pdf
mahcr
0
140
Intro to Angular
mahcr
2
53
Angular_Elements.pdf
mahcr
0
110
Angular Elements
mahcr
0
60
The beauty of NgRx
mahcr
0
72
Other Decks in Programming
See All in Programming
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
870
What We Talk About When We Talk About XP
m_seki
2
390
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
460
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
0
450
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
140
バグを直したら useEffect が消えた
colorful12
3
840
信頼性の目標を誰も求めてない
shubox
0
490
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
4.3k
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
170
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
2
500
Press start. Python's next generation.
willingc
PRO
3
310
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Designing Powerful Visuals for Engaging Learning
tmiket
1
530
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
720
Transcript
PWA: Web Apps Con Super Poderes
Web Practice Lead Co-Organizador de Angular Costa Rica Fan de
JS, TS, NG, Web Techs, Pizza, Emojis Mariano Álvarez @malvarezcr
Progressive Web Apps
Progressive Web Apps
¿Que hace un Web App un PWA? “Progressive Web Apps
provide an installable, app-like experience on desktop and mobile that are built and delivered directly via the web”
¿Que hace un Web App un PWA? • Responsive •
Connectivity-independent • Feel like a native app (fast loading) • Always up-to-date (fresh from the web; no updates from the app store) • Safe (https) • Discoverable (search engines) • Linkable (Share) • Installable (home screen, cache data) • Re-engageable (home screen, push notifications)
¿Beneficios de los PWAs? • Mejora el tiempo de carga
• Experiencia más nativa • “Cacheo” de datos • Disminuye la descarga de datos • Re-engaging del usuario
Casos de uso exitosos
PWA • Tiempo de carga • Experiencia de usuario •
Costo de desarrollo • Visibilidad en buscadores • Consumo de bateria • Monetización • Visibilidad en App Store / Play Store • Seguridad Native vs
Soporte de Browsers
Soporte de Browsers - Service Worker
Soporte de Browsers - Service Worker
Arquitectura App-Shell
Arquitectura App-Shell
¿Que necesitamos para un PWA? • Web Manifest • Service
Worker • Metadata • HTTPs
Web Manifest
¿Que es un Service Worker? “Service workers essentially act as
proxy servers that sit between web applications, the browser, and the network (when available).”
Ciclo de vida Service Worker
Registrar Service Worker
Estrategias de “Caching”:
Service Worker Basico
Lighthouse
Workbox
⚡Demo
Angular Costa Rica • Facebook, YouTube, Medium @angularcostarica • Twitter
@angularcr
Links de referencia • Ejemplo Github https://github.com/mahcr/your-first-pwapp • Documentacion PWAs
https://developers.google.com/web/progressive-web-apps • Workbox https://developers.google.com/web/tools/workbox • Twitter: @malvarezcr / Medium: @mahcr Mariano Álvarez