Issue #14 - February 22, 2013
Thanks again to Chris Buckett, the editor of Dartwatch.com, for continuing to curate this newsletter. On with the links..
Dart Milestone 3 is now released, and the big news is a cohesive model for async programming, and more unified model for events. The areas that have seen most change include the Iterable, Stream and Future classes. The Dart Editors cleanup tool can help migrate code from the M2 to the M3 release.
In addition to Dart reaching milestone 3, Dart's language specification has had a new release, with changes and clarifications around throwing exceptions, object allocation, and class getter setter with multiple interfaces.
The dart:io library has undergone some large refactorings, largely removing the need for callback registration. Check this message to see the new APIs for dealing with InputStream, OutputStream, HttpServer, WebSockets, Sockets and Files. As ever, the editor's code cleanup tool should be able to help.
Shannon -jj Behrens shows you ways to integrate Dart into your existing GWT application without having to rewrite it from scratch. This webcast and blog post describes a variety of methods for passing data back and forth between Dart and GWT code.
You may have heard the about "Futures" in Dart, but what exactly are they? Find out more in this article by Google's Shailen Tuli, where he explains Futures and the sequence of events during code execution.
Dartlang's Game of Darts series of tutorial gets a new update, this time showing how to fetch data dynamically with "AJAX" requests and serializing data to and from JSON.
Frank Pepermans has created a great DataGrid library in Dart with a clean initialization and flexible layout. The source code for the grid is part of the DartFlex library.
Join Seth Ladd as he continues his Dart Tips series, this time looking in detail at Functions as objects in Dart. Learn more about nested functions, functions as arguments and lexical closures.
Parse Markdown directly in your Dart apps with this library.
Are you interested in using Dart as a shell scripting language? Then follow Kevin Moore's series of instructional videos where he shows how Dart scripts can be executed like a shell command and much more.
Anyone interested in contributing patches to Dart Issue 8652 - the status is "PatchesWelcome" (humor)