Book description
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
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Quick Start
-
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
-
3. A Tour of the Dart Libraries
- dart:coreâNumbers, Collections, Strings, and More
- dart:asyncâAsynchronous Programming
- dart:mathâMath and Random
- dart:htmlâBrowser-Based Apps
- dart:ioâI/O for Command-Line Apps
- dart:convertâDecoding and Encoding JSON, UTF-8, and More
- dart:mirrorsâReflection
- Summary
-
4. Tools
- pub: The Dart Package Manager
- Dart Editor
- Dartium: Chromium with the Dart VM
- dart2js: The Dart-to-JavaScript Compiler
- dart: The Standalone VM
- dartanalyzer: The Static Analyzer
- Summary
- 5. Walkthrough: Dartiverse Search
- Copyright
Product information
- Title: Dart: Up and Running
- Author(s):
- Release date: October 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449330859
You might also like
book
Dart in Action
Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use …
book
Dart: Scalable Application Development
Master the art of designing web client and server with Google’s bold and productive language – …
book
RxJS in Action
RxJS in Action gives you the development skills you need to create reactive applications with RxJS. …
book
What is Dart?
This short, free ebook from March 2012 describes the Dart language, libraries, and tools that help …