Book Image

Offline First Web Development

By : Daniel Sauble
Book Image

Offline First Web Development

By: Daniel Sauble

Overview of this book

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 (17 chapters)
Offline First Web Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Comparing and contrasting with the design principles


Keep in mind that the to-do app is not finished. As we continue through the book, we'll continue to add functionality. However, any improvements that we make will be made with the offline behavior in mind. Let's pause and evaluate the app against our list of offline principles.

How does it compare?

For each of the ten principles, we'll assign a pass/fail grade based on how well the app adheres to that principle. Then, we'll count the number of passes to see how close we came to a 10/10 score.

Give me uninterrupted access to the content I care about.

This is a pass. As the app is offline, this principle is met. We only have to worry about this when the data is separate from the device consuming that data.

Content is mutable. Don't let my online/offline status change that.

This is a pass. Again, this principle is met as there is no online functionality. You can fully edit your to-do items offline.

Error messages should not leave me guessing...