Download the software and
discover which tools and libraries you get with the bundle.
Run two sample apps.
Get Dart. Run two apps.
Get the sample code
Before moving on,
get the code for all the tutorials' samples.
Download the ZIP file.
Open the dart-tutorials-samples directory in Dart Editor.
Go to the next tutorial,
Connect Dart & HTML
Web pages are programmed in HTML and represented
within the browser as a tree structure
called the DOM (Document Object Model).
Dart apps can modify the DOM programmatically,
thus dynamically changing the web page.
First, learn how to connect Dart and HTML.
Then learn how to add, move, and remove DOM elements.
Include a Dart script in an HTML page.
Add elements to the web page and move them.
Delete elements from the web page.
Dart developers have been busy creating code libraries that can help you be more productive.
Leverage that code or put your code out in the world to share with others.
Polymer helps you build structured, encapsulated,
client-side web apps with web components.
Create a custom HTML element using Polymer.
The Future and Stream classes provide API for performing tasks,
such as input/output, asynchronously, so as to avoid blocking your
Futures and Streams are fundamental to most Dart programs.
A first look at using Futures for asynchronous tasks.
Use streams to manage sequences of data
Various classes in the Dart libraries help you get, send, receive,
and save user data.
You can use input elements within forms to get data from users.
You can use JSON to format data and HttpRequest to send requests and receive responses.
And, finally, you can save data on the client with IndexedDB.
Load data from a static file or from a server.
Use forms and input elements to get data.
Save data on the client with IndexedDB.
Dart isn't just for browser-based applications.
You can write standalone programs, such as servers and scripts, in Dart.
Learn about features that command-line apps need.
Communicate over the internet.