Get moving with Dart, the development platform that helps you build high-performance HTML5 apps for the modern Web. With this guide, you’ll take a hands-on tour of the Dart language, libraries, and tools—including its editor and virtual machine—for developing structured, fast, and maintainable web apps that run on both the client and the server.
Written by developer advocates at Google, this updated edition covers Dart 1.0. Google designed Dart to boost performance and help developers work more efficiently. This book shows you how to build everything from simple scripts to complex apps that work well in today’s browsers.
Build web apps with the object-oriented Dart language, and compile your code to JavaScript
Delve into language features, from optional types and method cascades to named constructors
Create, launch, and debug web and command-line apps with Dart Editor
Explore Dart APIs, including dart:core, dart:html, dart:io, dart:convert, and dart:mirrors
Use tools such as Dartium, the Chromium-based browser that can run Dart apps natively
Walk through Dartiverse Search, a client-server app that combines useful and fun language and API features
Chapter 1 Quick Start
Why Google Created Dart
A Quick Look at the Dart Language
What’s Cool About Dart
Up and Running
Chapter 2 A Tour of the Dart Language
A Basic Dart Program
Important Concepts
Variables
Built-in Types
Functions
Operators
Control Flow Statements
Exceptions
Classes
Generics
Libraries and Visibility
Isolates
Typedefs
Metadata
Comments
Summary
Chapter 3 A Tour of the Dart Libraries
dart:core - Numbers, Collections, Strings, and More
Kathy is a technical writer who's worked on docs for Chrome and other developer APIs at Google since 2006. Before that, she worked at Sun, NeXT, and HP. Back when the web was young, she wrote the first doc to help developers write Java applets. She also co-created The Java Tutorial and maintained it for a very long time.
Seth is a Developer Advocate with the Chrome team. He is a conference organizer (Aloha on Rails, New Game), author (Expert Spring MVC), helped publish Angry Birds for the web, and is a big fan of HTML5 and the modern web.
If you have decided to delve into Dart after some initial exploration, this one book is suitable for you to be up and running with Dart in a short time. It has comprehensive coverage on the language and common libraries as well as the tools needed to get things done with Dart. While you're done with Dart, you might even want to consider getting your hands dirty with AngularDart, another hybrid framework brings the proven Angular philosophy of testable, succinct web development to Dart.