Dart in Action

Dart in Action introduces Google’s Dart language and provides techniques and examples showing how to use it as a viable replacement for Java and JavaScript in browser-based desktop and mobile applications. It begins with a rapid overview of Dart language and tools, including features like interacting with the browser, optional typing, classes, libraries, and concurrency with isolates. After you master the core concepts, you’ll move on to running Dart on the server and creating single page HTML5 web applications.

Dart is a web programming language developed by Google. It has modern OO features, just like Java or C#, while keeping JavaScript’s dynamic and functional characteristics. Dart applications are “transpiled” to JavaScript, and they run natively in Dart-enabled browsers. With production-quality libraries and tools, Dart operates on both the client and the server for a consistent development process.

Dart in Action introduces the Dart language and teaches you to use it in browser-based, desktop, and mobile applications. Not just a language tutorial, this book gets quickly into the nitty-gritty of using Dart. Most questions that pop up while you’re reading are answered on the spot! OO newbies will appreciate the gentle pace in the early chapters. Later chapters take a test-first approach and encourage you to try Dart hands-on.

To benefit from this book you’ll need experience with HTML and JavaScript?a Java or C# background is helpful but not required.

What’s Inside

  • Dart from the ground up
  • Numerous code samples and diagrams
  • Creating single-page web apps
  • Transitioning from Java, C#, or JavaScript
  • Running Dart in the browser and on the server

Table of Contents
Part 1: Introducing Dart
Chapter 1. Hello Dart
Chapter 2. “Hello World” with Dart tools
Chapter 3. Building and testing your own Dart app

Part 2: Core Dart
Chapter 4. Functional first-class functions and closures
Chapter 5. Understanding libraries and privacy
Chapter 6. Constructing classes and interfaces
Chapter 7. Extending classes and interfaces
Chapter 8. Collections of richer classes
Chapter 9. Asynchronous programming with callbacks and futures

Part 3: Client-side Dart apps
Chapter 10. Building a Dart web app
Chapter 11. Navigating offline data
Chapter 12. Communicating with other systems and languages

Part 4: Server-side Dart
Chapter 13. Server interaction with files and HTTP
Chapter 14. Sending, syncing, and storing data
Chapter 15. Concurrency with isolates

Appendix A. Core language reference
Appendix B. Defining classes and libraries

Book Details

  • Paperback: 424 pages
  • Publisher: Manning Publications (January 2013)
  • Language: English
  • ISBN-10: 1617290866
  • ISBN-13: 978-1617290862
Download [36.6 MiB]

You may also like...

Leave a Reply