Introducing Dart [Video]

More Information
  • Get up and running with the Dart development environment and Dart Editor
  • Produce clean and reliable codes using classes to organize ideas
  • Handle user events like keyboard presses and mouse movements to change the behaviour of your application.
  • Become more fluent with the core Dart tools such as Pub and Dart2js
  • Combine the power of CSS with Dart to create stunning effects and animations.
  • Use the dartlang API resource to expand on the classes, methods, and functions discussed.
  • Create and deploy visually attractive, interactive, and immersive web applications

As the internet becomes more of an application platform, the need to develop more feature-rich and immersive applications grows! Dart is a fantastic class-based, object-oriented language that pushes back on the idea that JavaScript should have a monopoly on web application development. It can be used both server side (dartVM) and client side (web browser) to build any application from a simple script to a full-blown 3D web game.

Introducing Dart is a joyride of game programming where the user harnesses the power of the Dart programming language. The techniques shown in these videos can easily be applied and expanded upon to create any kind of interactive web application.

We begin by learning how to install the Dart development environment, and how to get started using the Dart Editor. We then walk through building our game step-by-step until we are left with a fully functional game called “Dart Worm”.

At the first step you will be introduced to the Dart SDK and the Dart editor software. This will provide the environment where we will design and develop our main project. Then you will learn how to use Dart to access the elements on a web page (called the DOM). Once these elements are accessed you will be shown how to manipulate them by calling methods, and how to add and remove elements from the DOM dynamically.

As we move on we will be covering specific Dart classes that will help us bring the different components of our game to life. We will learn how to animate our game, keep score, and present the user with controls. Eventually, we will be putting everything we learned together and building our final game.

When you have completed these videos, you will have all of the tools necessary to build and deploy a fully functional web application using the Dart programming language.

Style and Approach

This course is a step-by-step tutorial where each task is broken down and covered in detail to be easy to follow and implement. All of the source code is shown in each step, and any “gotchas” or “pitfalls” are exposed and explained completely.

  • Master the Dart Editor to jump right into application development
  • Digest the ins and outs of Dart client side programming by implementing a simple browser-based game.
  • Learn how to manipulate the document model and interact with the user through the keyboard
  • Build a fully functional game called “Dart Worm” that can be expanded upon
Course Length 1 hour 10 minutes
ISBN 9781784399399
Date Of Publication 29 Jul 2015


James Slocum

James Slocum is a Software Developer for TelVue, and an adjunct Computer Science professor at Mercer County Community College. He studied Computer Engineering and Computer Science at the New Jersey Institute of Technology, graduating in 2008. His first article about Dart was featured in the March 2013 (#227) issue of Linux Journal.