Progressive web apps (Aplicações da Web progressivas)

You’re reading the English version of this content since no translation exists yet for this locale. Help us translate this article!

As aplicações da Web progressivas utilizam APIs da Web modernas, em conjunto com a estratégia tradicional de melhoramento progressivo, para criar aplicações da Web multiplataforma. Estas aplicações funcionam em qualquer lugar e fornecem vários funcionalidades que oferecem as mesmas vantagens de experiência do utilizador que as aplicações nativas. Este conjunto de documentos informa tudo o que precisa de saber sobre as mesmas.

progressive web apps community PWA logo

Vantagens de PWA

PWAs should be discoverable, installable, linkable, network independent, progressive, re-engageable, responsive, and safe. To find out more about what these mean, read Progressive web app advantages.

Google uses a helpful acronym for us to understand why PWAs are so effective: FIRE – Fast, Integrated, Reliable, and Engaging.

Para saber como implementar as PWAs, consulte os guias listados na secção abaixo.

Guias de PWA Principais

The following guides show you what need to do to implement a PWA, by examining a simple example and showing you how all the pieces work.

  1. Introduction to progressive web apps
  2. Progressive web app structure
  3. Making PWAs work offline with Service workers
  4. How to make PWAs installable
  5. How to make PWAs re-engageable using Notifications and Push
  6. Progressive loading

Guias de tecnologia

Ferramentas

  • localForage — a nice simple JavaScript library for making client-side data storage really simple; it uses IndexedDB by default, and falls back to Web SQL/Web Storage if necessary.
  • ServiceWorkerWare — an Express-like microframework for easy Service Worker development.
  • oghliner — not only a template but a tool for deploying Offline Web Apps to GitHub Pages.
  • sw-precache — a node module to generate service worker code that will precache specific resources.
  • workbox — spiritual successor to sw-precache with more advanced caching strategies and easy precaching.
  • upup — a tiny script that makes sure your site is always there for your users.
  • The service worker cookbook — A series of excellent service worker/push recipes, showing how to implement an offline app, but also much more.

Consulte também: