Part 4. Server-side Dart

In the last part of the book, you’ll learn about building Dart on the server. Being able to use code in both the browser and the server can provide productivity boosts by reducing the amount of code you need to write and test.

Chapter 13 starts by showing how you can write simple server-side scripts that you can run from the command line. By running command-line Dart scripts, you’ll learn how to use server-side APIs to access files and folders, and you’ll see how to serve HTTP data to clients.

Chapter 14 picks up on serving HTTP data to serve and communicate with the client-side app from part 3 of the book. You’ll learn how to use web sockets to provide two-way communication between the client and the server, sharing ...

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.