Offline First Web Development

Design and build robust offline-first apps for exceptional user experience even when an internet connection is absent
Preview in Mapt

Offline First Web Development

Daniel Sauble

1 customer reviews
Design and build robust offline-first apps for exceptional user experience even when an internet connection is absent
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Offline First Web Development Book Cover
Offline First Web Development
$ 35.99
$ 10.00
Mastering AWS Security Book Cover
Mastering AWS Security
$ 31.99
$ 10.00
Buy 2 for $20.00
Save $47.98
Add to Cart

Book Details

ISBN 139781785884573
Paperback316 pages

Book Description

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.

Table of Contents

Chapter 1: The Pain of Being Offline
The offline paradigm
Developing for a worst-case scenario
Principles of a good offline design
Making the case to yourself
Making the case to others
Summary
Chapter 2: Building a To-do App
Configuring the development tools
Configuring Sencha Touch
Creating a Git repository
Designing the offline experience
Creating a skeleton application
Building an offline to-do app
Comparing and contrasting with the design principles
Summary
Chapter 3: Designing Online Behavior
Designing the online workflow
The online/offline transition
Adding an online data store
Implementing image support
Implementing mapping support
Comparing and contrasting with the design principles
Summary
Chapter 4: Getting Online
Offline databases
Connecting to our Web API
Adding online-only features
Comparing and contrasting with the design principles
Summary
Chapter 5: Be Honest about What's Happening
Exposing the system state to the user
Building trust through up front communication
Predicting the future
Letting users provide direction
Staying functional in bad network conditions
Comparing and contrasting with the design principles
Summary
Chapter 6: Be Eventually Consistent
What is a split-brain?
Refactoring the item store
Implementing conflict detection
Implementing the conflict resolution
Comparing and contrasting with the design principles
Summary
Chapter 7: Choosing Intelligent Defaults
Low-hanging fruit
Cache limits
List frequency
Clearing the cache
Usage scenarios
Comparing and contrasting with the design principles
Summary
Chapter 8: Networking While Offline
What it means to be offline
Device support
Platform-independent libraries
Synchronization over Wi-Fi
Making the setup less painful
Summary
Chapter 9: Testing and Measuring the UX
Manual testing
Testing frameworks
Before and after
Future improvements
Summary

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

Authors

Table of Contents

Chapter 1: The Pain of Being Offline
The offline paradigm
Developing for a worst-case scenario
Principles of a good offline design
Making the case to yourself
Making the case to others
Summary
Chapter 2: Building a To-do App
Configuring the development tools
Configuring Sencha Touch
Creating a Git repository
Designing the offline experience
Creating a skeleton application
Building an offline to-do app
Comparing and contrasting with the design principles
Summary
Chapter 3: Designing Online Behavior
Designing the online workflow
The online/offline transition
Adding an online data store
Implementing image support
Implementing mapping support
Comparing and contrasting with the design principles
Summary
Chapter 4: Getting Online
Offline databases
Connecting to our Web API
Adding online-only features
Comparing and contrasting with the design principles
Summary
Chapter 5: Be Honest about What's Happening
Exposing the system state to the user
Building trust through up front communication
Predicting the future
Letting users provide direction
Staying functional in bad network conditions
Comparing and contrasting with the design principles
Summary
Chapter 6: Be Eventually Consistent
What is a split-brain?
Refactoring the item store
Implementing conflict detection
Implementing the conflict resolution
Comparing and contrasting with the design principles
Summary
Chapter 7: Choosing Intelligent Defaults
Low-hanging fruit
Cache limits
List frequency
Clearing the cache
Usage scenarios
Comparing and contrasting with the design principles
Summary
Chapter 8: Networking While Offline
What it means to be offline
Device support
Platform-independent libraries
Synchronization over Wi-Fi
Making the setup less painful
Summary
Chapter 9: Testing and Measuring the UX
Manual testing
Testing frameworks
Before and after
Future improvements
Summary

Book Details

ISBN 139781785884573
Paperback316 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering AWS Security Book Cover
Mastering AWS Security
$ 31.99
$ 10.00
Service Worker Development Cookbook Book Cover
Service Worker Development Cookbook
$ 39.99
$ 10.00
D3.js 4.x Data Visualization - Third Edition Book Cover
D3.js 4.x Data Visualization - Third Edition
$ 31.99
$ 10.00
React and React Native Book Cover
React and React Native
$ 39.99
$ 10.00
ReactJS Blueprints Book Cover
ReactJS Blueprints
$ 35.99
$ 10.00
Android UI Design Book Cover
Android UI Design
$ 31.99
$ 10.00