Chapter 14. Sending, syncing, and storing data

This chapter covers

  • Using two-way client and server communication with web sockets
  • Sharing code between the client and server
  • Using HttpClient to communicate between servers
  • Storing server-side data

Although your web application should be designed to work offline, most web applications also need to store some data on a server, whether in the filesystem, in an SQL-based solution such as MySQL, or in a NoSQL database such as CouchDB. The nature of the web is that users of your application will connect from different machines, which means even if data isn’t stored on the server, you’ll use a server component to provide server synchronization.

In this chapter, we’ll revisit the DartExpense application ...

Get Dart in Action 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.