O'Reilly logo

Dart in Action by Chris Buckett

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

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 ...

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