Book Image

DART Essentials

Book Image

DART Essentials

Overview of this book

Table of Contents (16 chapters)
Dart Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. The Power of HTML5 with Dart

HTML5 features are already widely supported by most of the modern browsers. In this chapter, we're going to take a look at some of them while building two small apps:

  • Reddit Read Later: This app fetches the latest posts tagged as dartlang from www.reddit.com via JSONP, renders them into an HTML list, and allows you to save interesting ones to local IndexedDB

  • Music visualizer: This app uses the File Drag and Drop API to load music from your computer, analyze frequencies with the Audio API, and draw bar charts on the 2D canvas

On top of that, we'll take a quick look at some technologies commonly used with graphics and games and a few notes about performance, low-level typed arrays, and Dart's Isolates.

If you're planning to support older browsers with limited support of HTML5 features, you can take a look at http://caniuse.com to see what's available to you before you start developing.

Both apps are going to heavily use Dart's Future-Based API for all asynchronous...