Slide 1

Slide 1 text

ngular Minko Gechev github.com/mgechev twitter.com/mgechev blog.mgechev.com toolset support

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

agenda

Slide 5

Slide 5 text

Angular 2 Design

Slide 6

Slide 6 text

Modular, decoupled design which allows you to use only what you need

Slide 7

Slide 7 text

Angular 2’s Core

Slide 8

Slide 8 text

Angular 2’s Core • Ultra-fast Change detection • Rendering Engine • Compiler • Dependency Injection • View Encapsulation • Zone.js

Slide 9

Slide 9 text

Angular 2’s Core • Ultra-fast Change detection • Rendering Engine • Compiler • Dependency Injection • View Encapsulation • Zone.js

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Optimizations

Slide 13

Slide 13 text

offline pre-compilation

Slide 14

Slide 14 text

template.html

Howdy! Here's a list

...

Slide 15

Slide 15 text

compiled.js ... var parentRenderNode = renderer .createViewRoot(declarationAppElement.nativeElement); _el_0 = renderer .createElement(parentRenderNode,'p',debug(0,0,0)); _text_1 = renderer .createText(_el_0,'\n Howdy! Here\'s a list',debug(1,0,3)); _text_2 = renderer .createText(parentRenderNode,'\n\n',debug(2,3,4)); _el_3 = renderer .createElement(parentRenderNode,'form',debug(3,5,0)); ...

Slide 16

Slide 16 text

Development experience

Slide 17

Slide 17 text

Typical JavaScript experience

Slide 18

Slide 18 text

Angular is… • Built with TypeScript • Compile-time type checking • Great IDE/text editors support • Analyzable templates

Slide 19

Slide 19 text

Type-checking and IntelliSense in templates

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Already supported by some IDEs

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

codelyzer

Slide 24

Slide 24 text

“codelyzer is a project which aims to enforce common style and verify correctness of your program”

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Why not instant feedback

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

angular/mobile-toolkit

Slide 29

Slide 29 text

Progressive enhancement for web applications

Slide 30

Slide 30 text

mobile-toolkit • Offline access to static content • Notifications for new versions • Efficient download of deltas • Support of push notifications

Slide 31

Slide 31 text

Service Workers & AppCache

Slide 32

Slide 32 text

AppCache Service Workers AppCache Service Workers

Slide 33

Slide 33 text

AppCache Service Workers = ~91.8%

Slide 34

Slide 34 text

How to start?

Slide 35

Slide 35 text

angular-cli

Slide 36

Slide 36 text

ng new hello-world

Slide 37

Slide 37 text

angular-cli • Quick bootstrap of projects • Generating: • Components • Services • Directives • Pipes • Support for offline apps • many others…

Slide 38

Slide 38 text

angular2-seed

Slide 39

Slide 39 text

angular2-seed • TypeScript transpilation • Statically typed dev and prod builds • Out of the box unit-testing • Test coverage • e2e testing with protractor • Static code analyzer

Slide 40

Slide 40 text

Resources: • angular.io • github.com/angular/angular • github.com/angular/mobile-toolkit • github.com/angular/angular-cli • github.com/mgechev/angular2-seed

Slide 41

Slide 41 text

Thank you! github.com/mgechev twitter.com/mgechev blog.mgechev.com