Тёмный

RailsConf 2024 - Progressive Web Apps with Ruby on Rails by Avi Flombaum 

Ruby Central
Подписаться 7 тыс.
Просмотров 581
50% 1

Progressive Web Apps (PWAs) have emerged as a solution for offering the seamless experience of native apps combined with the reach and accessibility of the web. This talk will dive into building an offline-first RSS feed reader that leverages the full potential of PWAs such as Service Workers, Background Sync,
We'll explore how to register, install, and activate a service worker in a Rails application.
We'll delve into the Push API integrated with service workers, discussing how to subscribe users to notifications.
We'll cover setting up background sync in our service worker, creating a system that automatically updates the cached RSS feeds and articles.
The talk will not only solidify the concepts discussed but also provide attendees with a clear roadmap to developing their PWAs.

Наука

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@alessandromacagno4127
@alessandromacagno4127 16 дней назад
There is one thing that is not clear to me, yet When would you use a PWA, when a turbo based mobile app and when a native mobile app? Does anyone know the answer?
@kevinvzb
@kevinvzb 14 дней назад
If you imagine 3 stages of complexity for offering a mobile experience for your users: 1) PWA: minimal dev effort, no interaction at all with app stores and mobile ecosystems 2) Turbo/Strada hybrid app: modest dev effort, some knowledge of mobile development required + interaction with app stores, etc and 3) full mobile app, immense effort, most likely requiring dedicated developers. Enabling PWA is the fastest and cheapest option if you're operating on limited resources, boostrapping, a solo, or crunched for time. It also helps if you want or must keep a single codebase in Ruby and not mess with Swift/Java/Kotlin, or avoid app store fees and red tape. Conversely, of all possible ways, it's the least "native"-like, but considering the minimal effort, it's a very acceptable tradeoff imo.
@alessandromacagno4127
@alessandromacagno4127 14 дней назад
@@kevinvzb Thanks for your reply! :) Let me reverse the question, when do you think it's absolutely necessary (from requirements POV) to go native?
@kevinvzb
@kevinvzb 14 дней назад
@@alessandromacagno4127 if the product absolutely depends on access to native mobile APIs (like advanced camera features) you can't get through browsers.
Далее
Service Workers Simplified with Caching Strategies
33:11
ЭТОТ ПЕНЁК ИЗ PLANTS VS ZOMBIES - ИМБА!
00:48
Essential Nikola Tesla Lecture from 1891
51:04
Просмотров 10 тыс.
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 20 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2,4 млн