Developers Guide

This Developers Guide is a practical guide to Angular for experienced programmers who are building client applications in HTML and Dart.

Us

We are on a journey together to understand how Angular works and, more importantly, how to make it work for us. We look at our application requirements and we see problems to solve.

This chapter begins the journey.

How to read this guide

Each chapter of this guide targets an Angular feature, showing how to use it to solve a programming problem.

All the chapters include code snippets ... snippets we can reuse in our own applications. Typically, these snippets are excerpts from a sample application that accompanies the chapter.

All the source files for each sample app are displayed together at the end of each chapter.

Here is a learning path we might follow:

  1. First, be familiar with Dart programming and with web concepts such as the DOM, HTML, and CSS. Dart tutorials such as Get Started and Connect Dart & HTML are a great way to start.

  2. Follow the QuickStart, which is the "Hello, World" of Angular 2. It shows how to set up the libraries and tools needed to write any Angular app. It ends with a "proof of life", a running Angular app.

  3. Next, read the Developers Guide chapters in order:

    1. The rest of this chapter, especially the Architecture overview
    2. Displaying Data
    3. User Input
    4. Forms
  4. Consider hopping over to the TypeScript docs since they're currently ahead of the Dart docs. (We're working on that!) Especially check out the Tutorial and Cheat Sheet, and the guide chapters Dependency Injection and Template Syntax.

Don't miss the Cheat Sheet, a handy map to Angular.

Appendix: The Hero Staffing Agency

There's a backstory to the samples in this guide.

The world is full of crises large and small. Fortunately, courageous heroes are prepared to take on every challenge. The shadowy Hero Staffing Agency matches crises to heroes.

We are contract developers, hired by the Agency to build an application to manage their operations. The Agency maintains a stable of heroes with special powers. Ordinary humans submit crises as job requests. The heroes bid to take the job, and the Agency assigns each job accordingly.

Our application handles every detail of recruiting, tracking, and job assignment. For example, the Forms chapter features a screen for entering personal information about heroes:

Clean Form