Skip to main content

Posts

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Deprecation notice: Migrate from dart:dom to dart:html

Posted by Vijay Menon We strive to improve the web development experience, and we’ve been working hard on a better DOM interface for browser programming. The Dart team has been developing the dart:html library and improving its performance for the past several months, and we believe that it provides a much better experience for Dart programmers than the old dart:dom library. For example, dart:html handles cross-browser compatibility for various cases (with more compat work coming), provides a more jQuery like experience for querying the DOM, and makes interaction with the DOM feel natural to Dart developers. We are now ready to deprecate dart:dom in favor of dart:html (tracked via Bug 2517 ).  This means that we will remove the dart:dom library from user facing code no sooner than Monday, May 7th. Please migrate your code to dart:html before this date, and report any problems at http://dartbug.com. Sometime soon after this date, you will not be able to access dart:dom. The dart...

JSON web services with Dart community article

Posted by Seth Ladd We have just published a new article on writing JSON based web services with Dart . You'll learn how to use the trusty XMLHttpRequest and combine it with Dart's type checking and code completion. Didn't think it was possible? Read on , my friendly Dartisan! This article was written by Chris Buckett, an early adopter and Dart community member. The Dart team wants to encourage you to contribute to dartlang.org by writing articles and blog posts. If you've built show off something fun you built with Dart, or simply want to help others learn Dart, we'll work with you to edit and publish your posts. Enjoy!

Rename refactoring improvements with new Dart Editor build

Posted by Dan Rubel New Dart Editor build available.  Highlights from build 6943 include better management of console view allow multiple consoles to be visible for multiple running applications rename refactoring improvements and bug fixes cleanup launch configurations of removed/deleted applications analysis support for same prefix for multiple imports JavaScript compiler and Dartium improvements UI and analysis improvements and bug fixes Read the full  change log  or start with the Dart Editor tutorial . Thanks in advance for your feedback!

Dart Editor gets Run improvements, and more

Posted by Dan Rubel The n ew Dart Editor build available. Highlights from build 6722 include: rename method and field (work in progress) click "Run" button launches last launched application new context menu "Run" for running current selection keyboard shortcuts for debugging step in / over / out new preference "remove trailing whitespace on save" automated UI tests under construction code completion and analysis resiliency improvements Read the full  change log  or start with the Dart Editor tutorial . Thanks for your feedback!

Dart language tour now available

Posted by Kathy Walrath The first version of the Dart language tour is now available. We tried to keep it short, useful, and focused on language features, although we couldn't help but touch on a bit of the dart:core library. The tour should be useful both for learning about the language and as a reference for Dart idioms. Please try it out and let us know whether it helped you, how we can make it better, and what other docs and improvements to dartlang.org  you'd like to see. Thanks!

Dart Language progress update

Posted by Gilad Bracha The Dart language team gathered to discuss some of the open issues with the language. Language Bugs: Will review language bugs and either fix, mark as deferred to future release (meaning no decision but distinctly possible in the future) or close. 30 bugs already processed last week. Cascades : The new dart2js compiler has implemented the spec. We will review to see if spec needs minor adjustments in light of implementation experience. We don’t expect any significant changes. Defaults in interfaces:  We expect to support these. Intended semantics are to give a warning if violated by implementor. However, if no default is given in the interface we will not interpret that as a default of null.  People can override in the default code if they want to, and may have reason to.  In any case we have no way force them to do otherwise. We will pin down draft specification. Generics reification: We discussed whether to back off of that. The decision is...

Dart Team's (Bi)Weekly Digest

Posted by Anders Sandholm Another round of updates from the Dart team: In Dartium we now have better memory management in DOM bindings and better support for IndexedDB API and various other APIs. In the Dart Editor full debugging is turned on by default and we have an initial cut of new html + css editors. We have live css editing, i.e., your css edits get pushed up to Dartium live, without you having to refresh or relaunch the browser. Moreover, we landed a few improvements on: 1) debugging field inspection and Dartium stability, 2) parser recovery and code completion and 3) dartdoc hover text. Finally, we have new Callers view. The work on pub is continuing - package: added to vm/frog/dart2js . The Dart Language Tour added classes, libraries, isolates, and interfaces. The Global Dart Hackathon was announced.