Web Programming with Dart is for programmers who want to master the new Dart programming language from Google, and also web developers who want to understand how Dart can integrate perfectly with HTML5 and CSS3.
With this book you will understand the ins and outs of the language, how the tools work, and how to get the most from the core functions and libraries. Web Programming with Dart is a practical, example-led book, with case studies involving developing UI animations for the web, working with web services such as JSON, server side Dart applications, and the new Polymer.dart library for advanced HTML UI web components generation.
- Take a full tour of Dart's core features and its advanced functionality
- Learn the tools that come with Dart SDK and the most important libraries. Additionally you will work with the newest Polymer.dart library for web component creation.
- Develop your own command-line and server side applications and, of course, web applications with Dart.
Author(s): Moises Belchin, Patricia Juberias (auth.)
Edition: 1
Publisher: Apress
Year: 2015
Language: English
Pages: 472
Tags: Computer Science, general
Front Matter....Pages i-xxi
Dart’s Flightpath So Far....Pages 1-11
Front Matter....Pages 13-13
Setting up Dart Correctly....Pages 15-29
Front Matter....Pages 31-31
Making the Most of the Dart Editor....Pages 33-73
Using Pub and dart2js to Compile Applications to JavaScript....Pages 75-86
Application Launches....Pages 87-98
Using the Dart Pub Package Manager....Pages 99-113
Optimizing for Dart VM and Dartium....Pages 115-119
Cleaning up with Dart Formatter....Pages 121-124
Generating Dart Code Documentation....Pages 125-134
Monitoring Your Applications with Observatory....Pages 135-145
Front Matter....Pages 147-147
The Dart Comment System....Pages 149-157
Understanding Operators and Expressions....Pages 159-170
Mastering Dart’s Variables and Data Types....Pages 171-203
Flow Control Statements....Pages 205-210
Working with Functions....Pages 211-218
A Syntax Summary and Cheat Sheet....Pages 219-222
Front Matter....Pages 223-223
Processing Exceptions and Error Control....Pages 225-228
Understanding Dart Classes....Pages 229-241
Implicit Interfaces and Abstract Classes....Pages 243-250
Implementing Generics and Typedefs....Pages 251-256
Front Matter....Pages 223-223
Using Dart’s Libraries....Pages 257-272
Leveraging Isolates for Concurrency and Multi-Processing....Pages 273-278
Asynchronous Programming with Dart....Pages 279-297
An Advanced Syntax Summary....Pages 299-303
Front Matter....Pages 305-305
Integrating Dart and HTML5....Pages 307-319
Integrating Dart and CSS....Pages 321-338
Front Matter....Pages 339-339
Combining Web Services with Dart....Pages 341-366
Dart on the Server Side....Pages 367-386
Front Matter....Pages 387-387
Implementing Design Patterns and Creating Web Components....Pages 389-406
Developing a Dart App....Pages 407-436
Back Matter....Pages 437-445