Wednesday, 13 May 2015

Dart POW - ( Package Of The Week) #7 : bwu_docker

Who is ready for another - Dart POW? A weekly look at an interesting Package on pub.dartlang.org

bwu_docker is a provides a typed interface to the Docker REST API and deserializes JSON response to Dart classes.

Code snippet:

...
  // initialize the connection to the Docker service
  final conn = new DockerConnection('localhost', dockerPort);
  await conn.init();

  // create a container from an image
  CreateResponse created = await conn.createContainer(
      new CreateContainerRequest()
    ..image = 'busybox'
    ..hostConfig.logConfig = {'Type': 'json-file'});
...

Feel free to leave a comment with suggestions for the next Dart POW post! Don't be too shy to suggest your own package :-)

Tuesday, 12 May 2015

This Week In Dart #27

The Dart on Android 'experiment' Sky continues to get coverage in the tech press. whatech.com. More coverage at TechWorm.

Joel Trottier-Hebert has an interesting two part write up on the recent Dart Developer Summit. Day One and Day Two

Speaking of the summit, the following video 'Sky: An Experiment Writing Dart for Mobile' is the most popular so far (66000+), going by YouTube views.

A document bubble up on the internet discussing Dart's Macro Language.
"You won't find it in the language specification, but Dart supports macros."
Interesting reading!

Finally the Dev channel for the Dart Editor released 1.11 with the following announcement: "We have shipped the first dev channel release of 1.11. As already announced, we are sunsetting the editor and the newly released version 1.11 does not contain the editor . Existing dev channel editor users will be updated to the stable channel 1.10.1 release, which will disable auto update."

Saturday, 9 May 2015

Chocolatey Dart Packages for Windows 1.10

Chocolatey is a package manager for Windows similar to Linux's apt-get, based on Microsoft's Nuget tool and Powershell scripting language. It works from the command-line and from a WPF GUI interface.

Recently I have recently taken over as maintainer of the Dart packages, and thanks to some timely pull requests and help from the Chocolatey community, the packages are now much more up to date. The Chocolatey moderation queue is around 2 weeks at the moment, however you can click on 'All Versions' to see the 1.10 releases.

Packages:

  • Dart Editor
  • Dart Sdk
  • Dartium
  • N.B. The Dart Editor includes the SDK + Dartium.

    Command line installation:

    choco install -y DartEditor  -version 1.10.0
    choco install -y dart-sdk  -version 1.10.0
    choco install -y dartium  -version 1.10.0
    

    The Dart Editor package will probably be deprecated after the 1.11 release with the Editor being discontinued (officially at least).

    One other idea I am considering is a non-Chocolatey install/update script. Feedback, comments and suggestions welcome!

    Thursday, 7 May 2015

    Dart POW - ( Package Of The Week) #6 : uix

    Who is ready for another - Dart POW? A weekly look at an interesting Package on pub.dartlang.org

    uix is a library to build Web User Interfaces in Dart inspired by React.

    You can play the one the examples Minesweeper.

    Friday, 1 May 2015

    This Week In Dart #26

    Dart Developer Summit 2015

    The Dart Developer Summit 2015 took place at the Googleplex and was streamed online. I only caught some of the content but some great talks and lots of news about Dart in the keynotes.



    Farewell Dart Editor (Soon)

    It appears it is time to bid goodbye to the venerable Dart Editor. Since the code analyzer was externalized, the editor is largely just a shell. The Dart team is putting its weight behind DartPad for beginners and the WebStorm for intermediate to professional. This is just breaking so not all details are available. Plugin support for Eclipse will continue (probably my preferred choice).

    Read more on the Official Blog.

    Dart 1.10.0 Released

    Check out the new release notes on GitHub. This is new format seems to be rolling as there are some 1.11 details on there too. Either auto-update or go to the Downloads page.