0%

Book Description

Summary

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.

About the Technology

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.

About this Book

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 JavaScripta 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

About the Author

Chris Buckett builds enterprise-scale web applications. He runs Dartwatch.com and is an active contributor to the dartlang list.

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Foreword
  5. Preface
  6. Acknowledgments
  7. About this Book
  8. About the Cover Illustration
  9. Part 1. Introducing Dart
    1. Chapter 1. Hello Dart
    2. Chapter 2. “Hello World” with Dart tools
    3. Chapter 3. Building and testing your own Dart app
  10. Part 2. Core Dart
    1. Chapter 4. Functional first-class functions and closures
    2. Chapter 5. Understanding libraries and privacy
    3. Chapter 6. Constructing classes and interfaces
    4. Chapter 7. Extending classes and interfaces
    5. Chapter 8. Collections of richer classes
    6. Chapter 9. Asynchronous programming with callbacks and futures
  11. Part 3. Client-side Dart apps
    1. Chapter 10. Building a Dart web app
    2. Chapter 11. Navigating offline data
    3. Chapter 12. Communicating with other systems and languages
  12. Part 4. Server-side Dart
    1. Chapter 13. Server interaction with files and HTTP
    2. Chapter 14. Sending, syncing, and storing data
    3. Chapter 15. Concurrency with isolates
  13. Appendix A. Core language reference
  14. Appendix B. Defining classes and libraries
  15. Index
  16. List of Figures
  17. List of Tables
  18. List of Listings
3.138.37.20