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 來增強網頁應用程式的功能,以創建漸進式網頁應用程式(PWA)。本書專注於使 PWA 成為可能的技術,以及如何使用這些技術來增強您的網頁應用程式,以提供更接近原生的體驗。

《學習漸進式網頁應用程式》是新一代 PWA 指南的第一本,反映了如 Service Workers 和 Web App Manifests 等突破性進展,幫助您結合網頁和行動開發的最佳特性。John M. Wargo 逐步介紹構建應用程式的技術,重點包括:

- 構建使用者可以輕鬆安裝在本地系統上的網頁應用程式
- 構建可以離線或在低品質網路上運行的網頁應用程式
- 實施緩存策略,使網頁開發者能夠控制哪些應用程式資源被緩存以及何時緩存
- 在網頁應用程式中提供背景處理
- 實施推播通知,使應用程式能夠更輕鬆地與使用者互動或從遠端伺服器觸發行動

在您逐章學習的過程中,您將從三個完整的獨立網頁應用程式之一開始,然後使用 Service Workers 和其他瀏覽器技術將它們轉換為 PWA。

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.

作者簡介(中文翻譯)

約翰·M·瓦戈(John M. Wargo)是一位產品經理、軟體開發者、作家、演講者、父親、丈夫和極客。他在專業軟體開發領域工作了超過30年,最初是作為一名愛好者,然後進入企業軟體領域,最後在過去15年中專注於行動開發。他是六本行動開發書籍的作者,並且是開源Apache Cordova專案的長期貢獻者。白天,他是微軟App + Cloud Experiences團隊的首席程式經理。他的網站是johnwargo.com。