Dart: Up and Running: A New, Tool-Friendly Language for Structured Web Apps

Dart: Up and Running: A New, Tool-Friendly Language for Structured Web Apps

by Kathy Walrath, Seth Ladd
Dart: Up and Running: A New, Tool-Friendly Language for Structured Web Apps

Dart: Up and Running: A New, Tool-Friendly Language for Structured Web Apps

by Kathy Walrath, Seth Ladd

eBook

$11.49  $14.99 Save 23% Current price is $11.49, Original price is $14.99. You Save 23%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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

Product Details

ISBN-13: 9781449330859
Publisher: O'Reilly Media, Incorporated
Publication date: 10/26/2012
Sold by: Barnes & Noble
Format: eBook
Pages: 158
File size: 3 MB

About the Author

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.

Table of Contents

Foreword;
Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Content Updates;
Acknowledgments;
Chapter 1: Quick Start;
1.1 Why Google Created Dart;
1.2 A Quick Look at the Dart Language;
1.3 What’s Cool About Dart;
1.4 Up and Running;
Chapter 2: A Tour of the Dart Language;
2.1 A Basic Dart Program;
2.2 Important Concepts;
2.3 Variables;
2.4 Built-in Types;
2.5 Functions;
2.6 Operators;
2.7 Control Flow Statements;
2.8 Exceptions;
2.9 Classes;
2.10 Generics;
2.11 Libraries and Visibility;
2.12 Isolates;
2.13 Typedefs;
2.14 Metadata;
2.15 Comments;
2.16 Summary;
Chapter 3: A Tour of the Dart Libraries;
3.1 dart:core - Numbers, Collections, Strings, and More;
3.2 dart:async - Asynchronous Programming;
3.3 dart:math - Math and Random;
3.4 dart:html - Browser-Based Apps;
3.5 dart:isolate - Concurrency with Isolates;
3.6 dart:io - I/O for Command-Line Apps;
3.7 dart:json - Encoding and Decoding Objects;
3.8 dart:uri - Manipulating URIs;
3.9 dart:utf - Strings and Unicode;
3.10 dart:crypto - Hash Codes and More;
3.11 Summary;
Chapter 4: Tools;
4.1 pub: The Dart Package Manager;
4.2 Dart Editor;
4.3 Dartium: Chromium with the Dart VM;
4.4 dart2js: The Dart-to-JavaScript Compiler;
4.5 dart: The Standalone VM;
4.6 dart_analyzer: The Static Analyzer;
4.7 dartdoc: The API Documentation Generator;
4.8 Summary;
Chapter 5: Walkthrough: Dart Chat;
5.1 How to Run Dart Chat;
5.2 How Dart Chat Works;
5.3 The Client’s HTML Code;
5.4 The Client’s Dart Code;
5.5 The Server’s Code;
5.6 What Next?;
From the B&N Reads Blog

Customer Reviews