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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access