1 of 31

Jeff Whelpley

CTO at GetHuman | Host of AngularAir | GDE | @jeffwhelpley

Angular Universal Tooling

2 of 31

@gdi2290

@_jwerner_

3 of 31

4 of 31

2012

Angular 1

5 of 31

2016

Angular 2

6 of 31

Power vs Simplicity

7 of 31

2

8 of 31

1

2

Dependency Injection

Change Detection

DSL in HTML

All-in-one framework

9 of 31

1

2

Dependency Injection

Change Detection

DSL in HTML

All-in-one framework

DOM Abstraction

Components

Data flow

10 of 31

1

2

DOM Abstraction

Components

Data flow

AoT Compilation

Router Lazy Loading

Built-in Workers

Zone.js

Universal

Preboot

Dependency Injection

Change Detection

DSL in HTML

All-in-one framework

11 of 31

1

2

DOM Abstraction

Components

Data flow

Conventions

Dependency Injection

Change Detection

DSL in HTML

All-in-one framework

AOT Compilation

Router Lazy Loading

Built-in Workers

Zone.js

Universal

Preboot

12 of 31

13 of 31

Your application is not a snowflake.

-DHH

14 of 31

Conventions free us from deliberation…

-DHH

15 of 31

…and provide a lush field to grow deeper abstractions

-DHH

16 of 31

CLI

17 of 31

Wave Time

18 of 31

CLI

19 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

CLI

20 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

CLI

WARNING!

21 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> npm install -g angular-cli

> ng new MyApp

> cd MyApp

> ng serve

> ng new MyApp --universal

> cd MyApp

> ng serve

PR #2318

TODAY

22 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> ng lint

COMING SOON

TODAY

> ng new MyApp --universal

> cd MyApp

> ng lint

23 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> ng build

TODAY

> ng new MyApp --universal-prerender

> cd MyApp

> ng build

COMING SOON

24 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> ng test

> ng e2e

COMING SOON

TODAY

> ng new MyApp --universal

> cd MyApp

> ng test

25 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> ng doc component

TODAY

> ng docs

COMING SOON

26 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

> ng github-pages:deploy

TODAY

FUTURE?

> ng deploy

27 of 31

Scaffold

Analyze

Build

Test

Docs

Deploy

Migrate

>

TODAY

> ng migrate 3.0

COMING SOON

28 of 31

29 of 31

What comes next?

30 of 31

What comes next?

AngularNation.org

31 of 31

Thank you!

@jeffwhelpley