Welcome to
your guide to building great web apps using Dart.
A Game of Darts is a collection of tutorials, targets,
that teaches you how to build web programs
using the Dart language, tools, and APIs.
You can either follow the targets in order,
building your knowledge of Dart and web programming
from the ground up,
or customize your learning experience by
choosing just the targets you need.
You should already know how to program in a structured language
like C or Java.
It helps to be familiar with object-oriented programming.
You don’t need to know JavaScript or the DOM
(Document Object Model) to use these tutorials.
The DOM is key to web programming
and you will learn about it here,
starting with the basic concepts in Target 2.
Target 1: Get Started
- Download the Dart software bundle,
discover which tools and libraries come with the Dart software,
and use Dart Editor to run two apps.
Target 2: Connect Dart & HTML
- Use Dart Editor to create
a stripped-down Dart program
that simply puts text on a browser page.
Though simple,
this tiny program
shows you how to host a Dart program on a web page
and one way to manipulate the DOM.
You will also begin learning about the Dart language,
Dart Editor, HTML, and CSS.
Target 3: Add an Element to the DOM
- The small app in this target
responds to a user-generated event
by adding an Element to the DOM.
Target 4: Remove DOM Elements
- In this target,
you will modify the little todo app from Target 3
to remove elements from the DOM.
Target 5: Install Shared Packages
- Packages help programmers to organize and share code.
Many open-source Dart packages are hosted at the
pub.dartlang.org
repository.
This target walks you through the steps to install one of those packages.
Target 9: Fetch Data Dynamically
- Your Dart web app can load data dynamically,
either from a static file or from a server.
Web data are often formatted using JSON (JavaScript Object Notation)—a
text based, human friendly data format.
...more targets coming...