Latest Blog Posts

New Google APIs Client Libraries for Dart help Dart apps use Google services

Anders Thorhauge Sandholm, on 22 Sep 2014
We are always working on providing new APIs for Dart. If you have been using Google services from Dart, we are happy to say that the Dart Team is now supporting a client library for accessing a set of APIs to Google services.Most Google services have an API described by the Google Discovery Service. This includes both Apps APIs (such as Gmail and Drive) and Cloud APIs (such as Cloud Datastore and Cloud Storage).Based on previous work by GDEs Adam Singer and Gerwin Sturm, the Dart Team has built an API generator to create Dart client libraries enabling access to... read more

Pub as a Simple Test Server

Chris Strom, on 21 Sep 2014
I am fairly excited to have a continuous integration solution for Patterns in Polymer. This is probably something I should have done a long time back, but I now run tests whenever Dart is updated and at least daily to check for newer versions of Polymer. This should go a long way toward helping (forcing) me to keep the book up to date. I am not quite done, however.I have the each chapter's project code under test for the JavaScript edition of the book. But the Dart edition is not quite so complete. Hopefully this will not be too hard... read more

Docker images for Dart now available

Anders Thorhauge Sandholm, on 16 Sep 2014
Developers increasingly want to use the same language and business logic on the client and the server to reduce risk and complexity. To help developers easily build and deploy end-to-end Dart apps, we are happy to announce ready-to-use Docker images for Dart. This expands our Docker usage further beyond the recently announced Docker support in Google App Engine. There are now three Dart-related images on for you to use: dart, dart-runtime and dart-hello, which uses the same naming scheme as the corresponding Node, Python and Go images already offered.The image google/dart adds the Dart SDK to google/debian Debian wheezy... read more

Dart Content Shell on Debian

Chris Strom, on 13 Sep 2014
I am a fan of Debian for public server installs. It includes no “junk” services that might expose the server to additional attack vectors, leaving just the services that I really want available. I rarely even bother with firewalls or iptables—the only active ports are those that would be available directly through a firewall anyway. That said, Debian is not without its challenges.I had hoped to get the Dart test build for Patterns in Polymer running without any difficulties, but alas. Part of this is a problem of my own creation. I am installing on a 32 bit version of... read more

Auto-Update of Dart on Linux

Chris Strom, on 12 Sep 2014
Updating Dart packages as part of an automated test suite is easy (pub upgrade). But what about updating Dart itself?As a coder, my instinct is a curl script to check the page for the latest release, then a Bash script to compare that value with the current install, then download, unzip and install. I am almost tempted to head down that rabbit hole—like all rabbit holes, it sounds fun from the outside. But, <deep breath>, maybe there is a better way.The DartEditor has an auto-update feature, but if that is easily accessed from the command-line or code, I cannot... read more