O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

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 9. Working with Databases

In this chapter, we will cover the following recipes:

  • Storing data locally with IndexedDB
  • Using Lawndart to write offline web apps
  • Storing data in MySQL
  • Storing data in PostgreSQL
  • Storing data in Oracle
  • Storing data in MongoDB
  • Storing data in RethinkDB

Introduction

Data is like food for applications; without it, they would have no meaning. Furthermore, data must be persisted; storing data can be done on the client, server, or both. On the client side, we look at IndexedDB and the Lawndart data manager, which provides offline data storage without having to worry whether IndexedDB is supported or not. Then, we investigate how to store data on the server in SQL as well as NoSQL database systems. By the end of this chapter, ...

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