Introducing Dart [Video]

More Information
Learn
  • 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
About

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.

Features
  • 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

Authors

James Slocum

James Slocum has been a professional developer for over 10 years. He graduated from NJIT with a Bachelor's degree in Computer Engineering in 2008, and again with a Master's in Computer Science in 2011. He currently works for Audible as a software engineer and tech lead for the library group. The languages he uses the most are Java, JavaScript, C++, and Dart. In his free time, he enjoys learning about new languages and technology.