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

Summary

We saw how the dart:io package can help build an HTTP server very quickly, and how frameworks can make this even easier. Using some simple processing of the request string, we can do more than serve the files flatly from the filesystem, such as serving the most recent entries on the front page.

The freedom of being out of the browser allows the manipulation of the filesystem. Despite not being on the Web, there is still good support for HTTP operations, which we used to test the performance of the server. Dart server applications can easily be installed on industry-standard host operating systems in a standard manner.

Our blog server is off to a good start. To progress, it needs to do more for the author, the reader, and the growing number ...

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