Chapter 10. Advanced Storage

In this chapter, we will talk about Dart's ability to store data locally on a client, break the storage limit, and prevent security issues in our web applications. We will also take a look at the good old cookies, show you how to use Web Storage, and elaborate on the more powerful and useful IndexedDB to store large amount of data in the user's web browser. The following topics will be covered in this chapter:

  • Cookies
  • Web Storage
  • Web SQL
  • IndexedDB


The concept of cookies was introduced for the first time in 1994 in the Mosaic Netscape web browser. A year later, this concept was introduced in Internet Explorer. From that time, the idea of tracking contents of shopping cart baskets across browser sessions remains relevant ...

Get Dart: Scalable Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.