- https://developers.google.com/web/progressive-web-apps/
- https://developer.mozilla.org/zh-CN/docs/Web/Progressive_web_apps
- https://www.zhihu.com/question/46690207
- 下一代 Web 应用模型 —— Progressive Web App
- 调试 Progressive Web Apps
- https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps
- Building offline-first Progressive Web Apps How to make PWAs re-engageable using Notifications and Push
- https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/get-started
- 有哪些使用 PWA 的 app ?
今天Google上线了两个新网站,web.dev 和 squoosh.app 。
web.dev其实就是为了宣传和推广PWA的,解释说明了PWA的几个关键技术。
Fast load times:主要是service worker,让前端静态资源离线。
Network resilience:应用的数据也可以离线,不依赖网络照样使用app。
Safe and secure:主要是HTTPS。
Easily discoverable:主要是SSR(Server Side Rrenderying),搜索引擎友好。
Installable:不管是移动端还是桌面端,都可以安装成类似本地应用。
Accessible to all:各种设备都可以用。
而squoosh.app是PWA和WASM技术实际应用的典范!
PWA适用于快速交互
如果你期望不断重复地使用某款应用,那下载并安装原生应用可能并不会让你觉得有什么麻烦。然而,如果只想使用一次的话,可能没人愿意去体验这种麻烦。因此,在这种情况下,PWA的优势就得以很好地体现出来。
此外,人工智能聊天机器人公司Gupshup首席执行官比鲁德·赛斯(Beerud Sheth)称,PWA还非常适合“短期低投入的体验”。对于这种类型的交互体验而言,原生应用模式就显得“过时”了。
Uber、星巴克和微软必应(Bing)搜索引擎服务都提供了PWA服务,作为在iOS系统、Android系统和其他操作系统上运行的原生应用的替代方案。值得注意的是,当你在Android设备上打开星巴克应用后,系统会提示你在主屏幕页面安装PWA,这在iPhone设备上目前是不被允许的。
PUSH & Notification API
- https://blogs.windows.com/msedgedev/2018/05/22/get-started-web-push-notifications-tutorial-demo/
- Web Push Notifications (it's included in above)
- https://serviceworke.rs/
- https://developers.google.cn/web/fundamentals/push-notifications
- https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API
- https://developer.mozilla.org/en-US/docs/Web/API/Push_API
- https://notifications.spec.whatwg.org/
- https://w3c.github.io/push-api/