Book Image

DART Essentials

Book Image

DART Essentials

Overview of this book

This book is targeted at expert programmers in JavaScript who want to learn Dart quickly. Some previous experience with OOP programming in other languages and a good knowledge of JavaScript are assumed.
Table of Contents (11 chapters)
10
Index

Chapter 2. Practical Dart

This chapter will focus on the most common features of Dart that you'll use every day for your next Dart project. In this chapter, we'll look at:

  • Manipulating DOM and HTML elements
  • Future-Based API, Dart's built-in library for working with asynchronous calls
  • Creating Ajax requests in Dart
  • How packages work in Dart
  • Calling JavaScript from Dart
  • Calling Dart from JavaScript

The whole chapter is intended to be very practical. We'll create a small app that reads a JSON dictionary and lets you search among all the terms in it. To make it more complicated, we'll implement a so-called fuzzy search algorithm, which doesn't search exact matches but the same order of characters instead.