Latest Blog Posts

Creating a lightweight DSL using Dart operator overrides.

John Evans, on 29 Oct 2014
I'm working on a game called "hakk.it".  hakk.it is 100% written in Dart and when launched, will be widely available as a modern web application for most devices that support the Chrome browser (I'm looking at you with a raised eyebrow IOS...).The premise of the game is pretty simple, you write special software code called "hakks".  These hakks take physical form and combat each other in arenas.  In addition to code, the hakks are made up of different types of blocks, each of which the code can make use of in various ways. It's a lot of fun, if I... read more

Writing A Writing Tool - Part Two

Davy Mitchell, on 24 Oct 2014
Wow - Part One got a few visitors! Thanks for popping by - now on with Part Two. Seth Ladd from the Dart team dropped a comment on the code - you'll notice all fields are lower case now :-) This was an easy change thanks to Dart Editor's built in refactoring. I have added more fields to the Chapter class and we can now create a chapter based on just the title. Named constructors coming in handy here. Two methods on Novel allow adding of Chapters and they return a reference for adding more details. class Novel { String... read more

Writing A Writing Tool - Part One

Davy Mitchell, on 23 Oct 2014
This is first in a series of blog posts where I will blog the creation of a simple writing tool as a Dart command line application. The background to this is NaNoWriMo which challenges anyone in the world to write a 50,000 word novel during November. Luckily you are allowed to plan in advance (there is not last minute revealed theme or requirement). I started with pen and paper which has its benefits but is too static for my liking! In the past I have written presentation materials in Python to escape Powerpoint and don't want to live in a... read more

WebStorm 9 released with improved Dart support

Seth Ladd, on 22 Oct 2014
Today, JetBrains announced WebStorm 9, an update to their powerful web development editor. Highlights for the Dart developer include: pub serve support, improved isolates debugging, Observatory support, new syntax support, and more.WebStorm 9 now launches pub serve, Dart's development server, when the developer runs a Dart web app. Pub serve takes care of generating assets, compiling to JavaScript, and more.Developing and debugging apps that run multiple computations in parallel is now easier, thanks to the new ability to set breakpoints inside of isolates.For deep insight into your app running on the Dart VM, you can now open the Observatory directly... read more

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 https://git.example.com/my_cool_app$>... read more