O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building web interfaces with Dart

The dart:html package is not the only option for building web interfaces with Dart. The main contenders are Polymer and Angular:

  • Polymer (https://www.polymer-project.org/) is a JavaScript framework for creating reusable web components (using the Web Component standard) that are encapsulated and inter-operable. They take the form of custom HTML elements. For example, the dialogs in this chapter could be made into web components. To use them in a page, we would use the tags <DialogConfirm> and <DialogWordCount>, which would avoid a set of nested div elements. Polymer.dart is the Dart version of the framework and is available from pub.
  • Angular (https://angularjs.org/) is a framework for dynamic data views and is

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required