O'Reilly logo

Dart in Action by Chris Buckett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Navigating offline data

This chapter covers

  • Handling browser navigation in a single-page app
  • Storing cookies to remember user settings
  • Serializing objects to JSON
  • Storing offline data in the browser

Users are accustomed to using built-in browser navigation tools, such as the browser’s forward and back buttons and bookmarks, to navigate web apps in the same way they have been doing for years with normal websites. Users also expect apps to have fast response times, which apps achieve by persisting data offline.

Modern browser technology makes it possible to meet your users’ expectations. In this chapter you’ll add these features to the DartExpense example application you started in the previous chapter.

In a single-page web ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required