Latest Blog Posts

Dart 1.7: easily share and use command-line applications built with Dart

Kevin Moore, on 15 Oct 2014
The Dart language, libraries, and runtime make it easy to create command-line applications. In fact, all of the core tools in the Dart SDK – dart2js, pub, and dartanalyzer – are written in Dart. We wanted to allow developers to easily get their own Dart scripts and command-line apps into users' hands. With Dart 1.7, users now have an easy way to install and run scripts built with Dart, making first-class command-line Dart apps a reality.Developers can specify executables (Dart scripts) in their pub package, which are made available to a user when the package is installed.Before:$> git clone$>... read more

How to deploy your Redstone.dart app to Heroku

Luiz Mineo, on 14 Oct 2014
Today I've got some time to play with the new cedar-14 stack and the Dart buildpack, and I'm impressed on how easy it is now to deploy Dart apps on Heroku. Basically, to run on Heroku, your app must be configurable through environment variables. The minimal configuration that every heroku application must handle is the port number, where the server is allowed to bind to. Let's see an example: import "dart:io"; import "package:redstone/server.dart" as app; //Import services here main(List<String> args) { app.setupConsoleLog(); //check environment variables var port = _getConfig("PORT", "8080"); //start the server app.start(port: int.parse(port)); } _getConfig(String name, [defaultValue]) {... read more

Dart plugin for Sublime updated with many new features

Seth Ladd, on 14 Oct 2014
Many of our developers enjoy using lightweight text editors, but still want to use features traditionally found in powerful IDEs. Today, in partnership with Guillermo López-Anglada, lead developer of the Dart plugin for Sublime, we are announcing many new features to help Dart developers stay productive in Sublime Text 3.With the Dart plugin, Sublime understands your Dart code and projects. Dart code is syntax highlighted, with support for the latest language keywords like async/await and deferred. To provide you with feedback on code quality, the plugin displays errors and warnings from static analysis.You can run web applications, command-line scripts, and... read more

Google Elections Launches New App Built with Dart, Polymer

Seth Ladd, on 13 Oct 2014
This past weekend, the Google Elections team introduced their Elections Explorer for Brazil: a live, real-time election results experience for the presidential, gubernatorial, senate, and chamber races in Brazil. This is the Google Elections team's second app built with Dart, and their first to use Polymer.The Google Elections team is happy with their experience. They write:"We love writing Dart because it's fast, compact, and sane. Great tools and a readable language give us the confidence we need to move quickly. But adding Polymer to the mix is pure gold. After years of writing code for the web, this was the first... read more

AngularDart 1.0 Has Landed!

Naomi Black, on 10 Oct 2014
Folks, I'm happy to tell you that we've just tagged release 1.0 (industrious-pangolin) of AngularDart on github.In 1.0, you'll find the last of our changes to the fundamental nature of the AngularDart APIs. We've simplified our design to eliminate much of the boilerplate that was involved in writing new components in our previous 0.x versions. We hope that the result is an AngularDart that's easier to understand and use.For details on what's new, see the changelog.Declaring 1.0 also represents a stability milestone for the AngularDart team. From here on out, you can expect bug fixes and minor updates, but we... read more