Skip to main content

Posts

Showing posts from November, 2015

How Google Uses Angular 2 with Dart

Cross-post from the Angular blog. Google is always busy building new web apps, and recently a lot of that development is using Angular 2 for Dart . Just last week, the Google Fiber team launched Google’s first production Angular 2 app, written in Dart. Take a look at their just-launched Angular 2 for Dart app: The Fiber team has lots of company within Google—Angular 2 for Dart is being quickly adopted by many other Google teams. Dart is an open-source development platform from Google that makes web and mobile development more productive. The Dart language is a concise yet expressive language that’s familiar to developers coming from Java, C#, ActionScript, and JavaScript. The Dart platform gives you an instant edit-debug cycle, great core libraries, a canonical package manager, a powerful semantic analyzer, and IDE support via IntelliJ IDEA and WebStorm. You can run Dart code compiled to JavaScript on all modern browsers. We’ve worked closely with the Angular team as

Dart 1.13 brings improved JavaScript interoperability and more

Dart 1.13 is now available . With this release, you can more easily access JavaScript APIs from Dart code. We've also improved secure networking on the server. Easier JavaScript interoperability Dart 1.13 provides a new syntax for creating Dart API facades for existing JavaScript libraries. Facades have the benefits you expect from a Dart library: errors, warnings, and code navigation. They also provide the Dart-to-JavaScript compiler the structure needed to provide interoperability with low code size and runtime cost. Example facade for Chart.js library Use the js package to create Dart APIs for your favorite JavaScript libraries. We have an example port of the Chart.js library if you'd like to see how to use these new features in your code. Graph generated with Chart.js and Dart We're actively working on tools to generate JS facades from other typed-JavaScript implementations. To track progress, subscribe to this GitHub issue . Improved secure netwo