Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ngular github.com/mgechev twitter.com/mgechev blog.mgechev.com Integrated Development Platform
Slide 2
Slide 2 text
agenda
Slide 3
Slide 3 text
What is Angular
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
Mobile • Web apps • Ionic • NativeScript
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
Desktop • Web apps • Electron
Slide 9
Slide 9 text
core (zones, di, abstractions, etc.)
Slide 10
Slide 10 text
core (zones, di, abstractions, etc.) animations
Slide 11
Slide 11 text
compiler core (zones, di, abstractions, etc.) animations
Slide 12
Slide 12 text
http compiler core (zones, di, abstractions, etc.) animations
Slide 13
Slide 13 text
forms http compiler core (zones, di, abstractions, etc.) animations
Slide 14
Slide 14 text
forms http compiler core (zones, di, abstractions, etc.) router animations
Slide 15
Slide 15 text
forms http compiler core (zones, di, abstractions, etc.) router i18n animations
Slide 16
Slide 16 text
forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 17
Slide 17 text
PWA forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 18
Slide 18 text
Universal PWA forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 19
Slide 19 text
components Universal PWA forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 20
Slide 20 text
CLI components Universal PWA forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 21
Slide 21 text
language services CLI components Universal PWA forms http compiler core (zones, di, abstractions, etc.) router ngUpgrade i18n animations
Slide 22
Slide 22 text
angularfire2 language services CLI components Universal PWA forms http compiler core (zones, di, abstractions, etc.) router i18n ngUpgrade animations
Slide 23
Slide 23 text
angularfire2 language services CLI components Universal PWA forms http compiler core (zones, di, abstractions, etc.) router i18n ngUpgrade animations
Slide 24
Slide 24 text
angular-cli
Slide 25
Slide 25 text
$ npm i -g @angular/cli $ ng new hello-world
Slide 26
Slide 26 text
$ cd hello-world $ ng serve
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
Angular Core
Slide 29
Slide 29 text
Core • Components • Ultrafast Change Detection • More abstractions as you need them
Slide 30
Slide 30 text
@Component({ selector: 'hello-world', template: '
Hello, {{user.name}}!
' }) class HelloWorldComponent { getData() { fetch('https://example.com/data.json') .then(response => response.json()) .then(data => this.user = data); } } Hello world in Angular
Slide 31
Slide 31 text
Compiler
Slide 32
Slide 32 text
“Compiles your templates to JavaScript instructions”
Slide 33
Slide 33 text
template.html Howdy! Here’s a list:
First
Second
Slide 34
Slide 34 text
compiled.js elementStart(0, "section"); text(1, " Howdy! Here's a list: "); elementStart(2, "ul"); elementStart(3, "li"); text(4, "First"); elementEnd(); elementStart(5, "li"); text(6, "Second"); elementEnd(); elementEnd(); elementEnd();
Slide 35
Slide 35 text
compiled.js e(0, "section"); t(1, " Howdy! Here's a list: "); e(2, "ul"); e(3, "li"); t(4, "First"); n(); e(5, "li"); t(6, "Second"); n(); n(); n();
Slide 36
Slide 36 text
compiled.js e(0,"section"),t(1,"Howdy! Here's a list: "),e(2,"ul"),e(3,"li"),t(4,"First"),n(),e(5,"l i"),t(6,"Second"),n(),n(),n();
Slide 37
Slide 37 text
Development experience
Slide 38
Slide 38 text
Typical JavaScript experience
Slide 39
Slide 39 text
Angular is… • Built with TypeScript • Compile-time type checking • Great IDE/text editors support • Analyzable templates
Slide 40
Slide 40 text
Type-checking and IntelliSense in templates
Slide 41
Slide 41 text
No content
Slide 42
Slide 42 text
No content
Slide 43
Slide 43 text
codelyzer
Slide 44
Slide 44 text
“codelyzer is a project which aims to enforce common style and verify correctness of your program”
Slide 45
Slide 45 text
No content
Slide 46
Slide 46 text
No content
Slide 47
Slide 47 text
Client Server
Slide 48
Slide 48 text
Client Server
Slide 49
Slide 49 text
Client Server GET / GET * loop
Slide 50
Slide 50 text
Client Server GET / GET * loop Running JavaScript
Slide 51
Slide 51 text
Client Server GET / GET * loop GET * loop
Slide 52
Slide 52 text
Client Server GET / GET * loop GET * loop
Slide 53
Slide 53 text
server-side rendering
Slide 54
Slide 54 text
Client Server
Slide 55
Slide 55 text
Client Server
Slide 56
Slide 56 text
Client Server GET /
Slide 57
Slide 57 text
Client Server GET / Running JavaScript
Slide 58
Slide 58 text
Client Server GET / GET * loop
Slide 59
Slide 59 text
Client Server GET / GET * loop Running JavaScript
Slide 60
Slide 60 text
Client Server GET / GET * loop
Slide 61
Slide 61 text
❤ Angular Community ❤
Slide 62
Slide 62 text
ngAtlanta " ngIndia # Angular NL $ ng-conf " ngVikings % Angular Day & Angular in Depth ' ngDenver " NG-MY ( ng-japan ) NG-DE * ng-SriLanka + Angular Connect , ngSpain - NGRome & NG Honduras . ngTaiwan / ngTalks ' NG-BE 0 ngBolivia 1 AngularMix " ngPoland 2 AngularUP 3 ngChina 4
Slide 63
Slide 63 text
Thank you! github.com/mgechev twitter.com/mgechev blog.mgechev.com