Book Image

DART Essentials

Book Image

DART Essentials

Overview of this book

Table of Contents (16 chapters)
Dart Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

What is Angular 2.0?


AngularJS and AngularDart are two separate projects in two different languages, sharing the same philosophy. This requires two of Google's developer teams to maintain two codebases. Angular 2.0 is still in development and its release date is unknown, yet there are some fundamental concepts known already.

Angular 2.0 is developed in AtScript, which is a language created by Google that extends Microsoft's TypeScript. TypeScript itself is a superset of JavaScript and should be partly compatible with the ECMAScript 6 standard in the future. Right now, it has to be compiled to JavaScript as well.

That said, there will be just one codebase for Angular 2.0 in AtScript, which can be compiled into JavaScript or Dart.

Why is Angular 2.0 not written in Dart?

That's an obvious question. Angular 2.0 has to be easy to use for both Dart and JavaScript developers, and here's the problem with Dart. Dart doesn't compile into code that is easily reusable in JavaScript. In Chapter 1, Getting...