Learning Progressive Web Apps

Wargo, John M.

  • 出版商: Addison Wesley
  • 出版日期: 2020-03-19
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0136484220
  • ISBN-13: 9780136484226
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Developers building apps targeting desktops, laptops, smartphones, and tablets have two options to use when building their apps: native apps built specifically for the target platform, or web apps, which run on most any system. Building native apps for any target platform is a time-consuming and expensive proposition, especially when your app targets multiple system types (desktop computers, smartphones, televisions, etc.).

Web apps are challenging because a user experiences vary dramatically depending on which type of system the user accessed the app from. Desktop browsers are fully capable, but mobile device browsers have limitations due to reduce screen real estate, processor speed, network bandwidth, and more. Many of these limitations have disappeared, but there's still considerable disparity between native app and web app capabilities.

Over the years, web browsers, especially those running on mobile devices like smartphones and tablets, exposed more native capabilities to web apps. This enables web apps to work more like native apps, but there were still limitations. Service Workers are a relatively new technology that make it easier for web apps to bridge the gap between native and web capabilities, removing many limitations from web apps.

This is a book about Service Workers, focusing on how to use Service Workers to enhance the capabilities of a web app to create a Progressive Web App (PWA). This book focuses on the technologies enabling PWAs, and how to use them to enhance your web apps to deliver a more native-like experience.

Learning Progressive Web Apps is the first of a new generation of PWA guides that reflect breakthrough advances such as Service Workers and Web App Manifests, helping you combine the best features of web and mobile development. One step at a time, John M. Wargo introduces techniques for building apps, highlighting

  • Building web apps a user can easily install on their local system
  • Building web apps that work offline or on low quality networks
  • Implementing caching strategies that give web developers control over which app resources are cached and when
  • Delivering background processing in a web application
  • Implementing push notifications to enable an app to more easily engage with users or trigger action from a remote server

As you work through the chapters, at different points you'll start with one of three complete, stand-alone web apps, then convert them into PWAs using service workers and other browser technologies.

Wargo clearly introduces each core concept and illustrates the implementation of each capability through complete, operational examples. You'll start with simple web apps, then incrementally expand and extend them with state-of-the-art features. All example source code is available on GitHub, and additional resources will be available through the author's site, learningpwa.com.

商品描述(中文翻譯)

開發者在建立針對桌面電腦、筆記型電腦、智慧型手機和平板電腦的應用程式時,有兩種選擇:針對目標平台建立的原生應用程式,或者在大多數系統上運行的網頁應用程式。建立針對任何目標平台的原生應用程式是一個耗時且昂貴的選擇,尤其是當您的應用程式針對多種系統類型(桌面電腦、智慧型手機、電視等)時。

網頁應用程式具有挑戰性,因為使用者體驗取決於使用者從哪種類型的系統訪問應用程式。桌面瀏覽器功能完整,但移動設備瀏覽器由於螢幕空間減少、處理器速度、網絡帶寬等限制而受到限制。許多這些限制已經消失,但原生應用程式和網頁應用程式的能力之間仍然存在相當大的差異。

多年來,網頁瀏覽器,尤其是運行在智慧型手機和平板電腦等移動設備上的瀏覽器,向網頁應用程式公開了更多的原生功能。這使得網頁應用程式更像原生應用程式,但仍然存在限制。Service Workers 是一種相對較新的技術,使得網頁應用程式更容易彌補原生和網頁功能之間的差距,從而消除了網頁應用程式的許多限制。

這本書是關於 Service Workers 的,重點介紹如何使用 Service Workers 增強網頁應用程式的功能,創建一個 Progressive Web App(PWA)。本書著重介紹了實現 PWA 的技術,以及如何使用這些技術來增強您的網頁應用程式,提供更接近原生應用程式的體驗。

《學習 Progressive Web Apps》是一本新一代的 PWA 指南,反映了 Service Workers 和 Web App Manifests 等突破性進展,幫助您結合網頁和移動開發的最佳功能。John M. Wargo 逐步介紹了建立應用程式的技術,並突出了以下方面:

- 建立用戶可以輕鬆安裝在本地系統上的網頁應用程式
- 建立可以離線工作或在低質量網絡上運行的網頁應用程式
- 實施緩存策略,讓網頁開發人員控制哪些應用程式資源被緩存以及何時緩存
- 在網頁應用程式中提供背景處理
- 實施推送通知,使應用程式更容易與用戶互動或從遠程伺服器觸發操作

在閱讀各章節時,您將從三個完整、獨立的網頁應用程式開始,然後使用 Service Workers 和其他瀏覽器技術將它們轉換為 PWAs。

Wargo 清晰地介紹了每個核心概念,並通過完整的實例演示了每個功能的實現。您將從簡單的網頁應用程式開始,然後逐步擴展和擴展它們,加入最先進的功能。所有示例源代碼都可以在 GitHub 上找到,並且作者的網站 learningpwa.com 上還提供其他資源。

作者簡介

John M. Wargo is a product manager, software developer, writer, presenter, father, husband, and geek. He spent more than 30 years working as a professional software developer, first as a hobbyist, then in enterprise software, and finally, for the last 15 years, in mobile development. He is the author of six books on mobile development and was a long-time contributor to the open-source Apache Cordova project. By day, he's a principal program manager on the App + Cloud Experiences team at Microsoft. His website is johnwargo.com.

作者簡介(中文翻譯)

John M. Wargo 是一位產品經理、軟體開發者、作家、演講者、父親、丈夫和科技愛好者。他在專業軟體開發領域擁有超過30年的工作經驗,從業餘開發者開始,進入企業軟體領域,最後在過去的15年專注於移動開發。他是六本關於移動開發的書籍的作者,並且長期為開源項目 Apache Cordova 做出貢獻。白天,他是微軟的 App + Cloud Experiences 團隊的首席程式經理。他的網站是 johnwargo.com。