Dart Essentials

Design and build full-featured web and CLI apps using the powerful Dart language and its libraries and tools
Preview in Mapt

Dart Essentials

Martin Sikora

1 customer reviews
Design and build full-featured web and CLI apps using the powerful Dart language and its libraries and tools
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Dart Essentials Book Cover
Dart Essentials
$ 23.99
$ 16.80
Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained Book Cover
Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained
$ 23.99
$ 16.80
Buy 2 for $33.60
Save $14.38
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783989607
Paperback232 pages

Book Description

The Dart programming language can be used for both client- and server-side development. It combines the best from many of today's languages. Dart's cohesive, scalable, and robust web programming features will help individuals and organizations solve challenges in a whole new way.

You'll start off with an interactive tour of Dart and realize its power. You will step up to learn about the DOM tree and its implementation, while creating web apps. You will learn how to use various APIs for asynchronous calls, GeoLocation, Audio, File Drag and Drop, touch events, and more. Later on, you will build custom elements with Web Components and build on top of the previous parts with polymer.dart. You will also learn about data bindings and how to use AngularDart. You'll get to grips with writing CLI scripts, MySQL queries, Apache and nginx configuration, WebSockets, and so much more. Finally, you'll learn the unit testing and profiling, and writing native extensions in C/C++.

Table of Contents

Chapter 1: Getting Started with Dart
What is Dart?
Why choose Dart?
Installing the Dart SDK
The Dart language tour
Summary
Chapter 2: Practical Dart
Optimizing DOM tree manipulations
The documentation search app
Combining Dart and JavaScript
Dart MythBusters
Summary
Chapter 3: The Power of HTML5 with Dart
Creating the Reddit Read Later app
Music visualizer
Other noteworthy APIs and libraries
Summary
Chapter 4: Developing a Mobile App with Dart
300 ms tap delay
Basics of CSS3 transformations
A 3D bookshelf with DeviceOrientation events
Position and distance tracker with the GeoLocation API and Google Maps API
Drawing into 2D canvas using onTouch events
Summary
Chapter 5: Web Components and polymer.dart
Web Components
The Web Components polyfill for older browsers
Basic HTML Import
Using Shadow DOM
Using Custom Elements
Polymer.dart
One-way data binding
Two-way data binding
Polymer core and paper elements
Summary
Chapter 6: AngularDart
Installing AngularDart
To-do list with AngularDart
Extending the to-do list
A book component in AngularDart
What is Angular 2.0?
Performance tips for AngularDart
Summary
Chapter 7: Server-side Applications with Dart
The standalone Dart VM
Parsing CLI arguments with the args package
Writing a chat app with the WebSockets server
Writing an HTTP server with the route package
Using Dart as a full-stack language
Summary
Chapter 8: Testing and Profiling the Dart Code
Testing strategies for web apps
Unit testing
Operator overloading and mixins
Testing AngularDart apps
Profiling with the Observatory tool
Summary
Chapter 9: Writing Native Extensions for the Standalone Dart VM
The structure of native extensions
Writing a minimal native extension
Writing a native fuzzy search implementation
Writing bindings for the exiv2 library
Distributing native extensions
Summary

What You Will Learn

  • Learn about the Dart language syntax, libraries, and package manager
  • Use existing JavaScript libraries in Dart and call Dart code from JavaScript
  • Handle asynchronous calls with Future-Based API and use HTML5 features in Dart
  • Write example apps with Web Components and polymer.dart
  • Develop web apps using AngularDart
  • Test apps with unit tests and analyze them with Observatory
  • Explore CLI apps, WebSocket servers, and server-side scripting in Dart
  • Extend the Standalone Dart VM with C/C++ native extensions

Authors

Table of Contents

Chapter 1: Getting Started with Dart
What is Dart?
Why choose Dart?
Installing the Dart SDK
The Dart language tour
Summary
Chapter 2: Practical Dart
Optimizing DOM tree manipulations
The documentation search app
Combining Dart and JavaScript
Dart MythBusters
Summary
Chapter 3: The Power of HTML5 with Dart
Creating the Reddit Read Later app
Music visualizer
Other noteworthy APIs and libraries
Summary
Chapter 4: Developing a Mobile App with Dart
300 ms tap delay
Basics of CSS3 transformations
A 3D bookshelf with DeviceOrientation events
Position and distance tracker with the GeoLocation API and Google Maps API
Drawing into 2D canvas using onTouch events
Summary
Chapter 5: Web Components and polymer.dart
Web Components
The Web Components polyfill for older browsers
Basic HTML Import
Using Shadow DOM
Using Custom Elements
Polymer.dart
One-way data binding
Two-way data binding
Polymer core and paper elements
Summary
Chapter 6: AngularDart
Installing AngularDart
To-do list with AngularDart
Extending the to-do list
A book component in AngularDart
What is Angular 2.0?
Performance tips for AngularDart
Summary
Chapter 7: Server-side Applications with Dart
The standalone Dart VM
Parsing CLI arguments with the args package
Writing a chat app with the WebSockets server
Writing an HTTP server with the route package
Using Dart as a full-stack language
Summary
Chapter 8: Testing and Profiling the Dart Code
Testing strategies for web apps
Unit testing
Operator overloading and mixins
Testing AngularDart apps
Profiling with the Observatory tool
Summary
Chapter 9: Writing Native Extensions for the Standalone Dart VM
The structure of native extensions
Writing a minimal native extension
Writing a native fuzzy search implementation
Writing bindings for the exiv2 library
Distributing native extensions
Summary

Book Details

ISBN 139781783989607
Paperback232 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Dart Book Cover
Mastering Dart
$ 29.99
$ 21.00
Dart Cookbook Book Cover
Dart Cookbook
$ 26.99
$ 18.90
Learning Dart  Book Cover
Learning Dart
$ 35.99
$ 25.20
Go Programming Blueprints Book Cover
Go Programming Blueprints
$ 29.99
$ 21.00
Dart By Example Book Cover
Dart By Example
$ 35.99
$ 25.20
Learning Dart - Second Edition Book Cover
Learning Dart - Second Edition
$ 35.99
$ 25.20