Offline First Web Development
暫譯: 離線優先的網頁開發
Daniel Sauble
- 出版商: Packt Publishing
- 出版日期: 2015-11-20
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 316
- 裝訂: Paperback
- ISBN: 1785884573
- ISBN-13: 9781785884573
海外代購書籍(需單獨結帳)
相關主題
商品描述
Design and implement a robust offline app experience using Sencha Touch and PouchDB
About This Book
- Understand the design principles behind a well-designed offline experience
- Create the illusion of being online when you're really offline
- Use common libraries such as Sencha Touch and PouchDB to enhance the offline experience of mobile apps
Who This Book Is For
Do you want to make your app experience more robust and delightful? Are you eager to write apps that cater to a wider audience, not just the Silicon Valley crowd? Do you need to persuade your peers that offline-first is a worthwhile development paradigm? If your answer to all or any one of these questions is yes, then this is the book is for you. Some previous coding and command-line experience would be useful, but is not required.
What You Will Learn
- Design the behavior of the app, taking offline, online, and the transition between those two states into account
- Seamlessly implement the offline/online experience that you've designed using Sencha Touch and PouchDB
- Show the user what's happening under the hood with online/offline indicators and Good Mobile Messaging
- Employ various strategies to cope with unreliable network conditions
- Help the user resolve conflicts related to the “split-brain” problem
- Choose intelligent defaults based on usage of the app
- Use point-to-point networking to partially overcome a lack of Internet connectivity
In Detail
When building mobile apps, it's easy to forget about the moments when your users lack a good Internet connection. Put your phone in airplane mode, open a few popular apps, and you'll quickly see how they handle being offline. From Twitter to Pinterest to Apple Maps, some apps might handle being offline better―but very few do it well. A poor offline experience will result in frustrated users who will abandon your app, or worse, turn to your competitor's apps!
Expert or novice, this book will teach you everything you need to know about designing and building a rigorous offline app experience. By putting the offline experience first, you'll have a solid foundation to build upon, avoiding the unnecessary stress and frustration of trying to retrofit offline capabilities into your finished app. This basic principle, designing for the worst-case scenario, could save you countless hours of wasted effort.
Style and approach
This book adopts an iterative approach to designing and building a mobile app, where each chapter builds on the one before, resulting in a fully-functional app that demonstrates the concepts taught, each one of which is explained through the use of an example.
商品描述(中文翻譯)
**設計並實現一個穩健的離線應用體驗,使用 Sencha Touch 和 PouchDB**
## 本書介紹
- 了解良好設計的離線體驗背後的設計原則
- 創造在實際離線時卻有在線的錯覺
- 使用常見的庫,如 Sencha Touch 和 PouchDB,來增強移動應用的離線體驗
## 本書適合誰
你想讓你的應用體驗更穩健和愉悅嗎?你渴望編寫能夠迎合更廣泛受眾的應用,而不僅僅是矽谷的群眾嗎?你需要說服你的同事,離線優先是一個值得的開發範式嗎?如果你對這些問題的回答是肯定的,那麼這本書就是為你而寫的。擁有一些先前的編碼和命令行經驗會有幫助,但不是必需的。
## 你將學到什麼
- 設計應用的行為,考慮到離線、在線及這兩種狀態之間的轉換
- 無縫實現你使用 Sencha Touch 和 PouchDB 設計的離線/在線體驗
- 向用戶展示在線/離線指示器和良好的移動消息傳遞下發生的事情
- 採用各種策略應對不可靠的網絡條件
- 幫助用戶解決與「分腦」問題相關的衝突
- 根據應用的使用情況選擇智能默認值
- 使用點對點網絡部分克服缺乏互聯網連接的問題
## 詳細內容
在構建移動應用時,很容易忘記用戶缺乏良好互聯網連接的時刻。將手機設置為飛行模式,打開幾個流行的應用,你會迅速看到它們如何處理離線狀態。從 Twitter 到 Pinterest 再到 Apple Maps,一些應用可能更好地處理離線狀態,但很少有做到真正好的。糟糕的離線體驗會導致用戶感到沮喪,最終放棄你的應用,甚至更糟,轉向競爭對手的應用!
無論是專家還是新手,本書將教你設計和構建嚴謹的離線應用體驗所需的一切。通過將離線體驗放在首位,你將擁有堅實的基礎來構建,避免在完成的應用中試圖改裝離線功能所帶來的不必要壓力和挫折。這一基本原則,即為最壞情況設計,能為你節省無數浪費的時間和精力。
## 風格與方法
本書採用迭代的方法來設計和構建移動應用,每一章都在前一章的基礎上構建,最終形成一個功能完整的應用,展示所教授的概念,每個概念都通過示例進行解釋。