d
Adventures with Angular 2
Dragos Ionita @ adoreme.com
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Introduction
I build business tools @Adore Me
Why Angular2?
Why Angular2 Beta.3 in production code?
What did I personally learn?
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
About me: my journey
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
New business tool, very complex backend, no
draconic deadline
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
We are very good on Angular1
New business tool, very complex backend, no
draconic deadline
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
We are very good on Angular1
New business tool, very complex backend, no
draconic deadline
Angular1 has a big community.
Angular2 why not?
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
We are very good on Angular1
New business tool, very complex backend, no
draconic deadline
Angular1 has a big community.
Angular2 why not?
Angular2 is already used by Google
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
We are very good on Angular1
New business tool, very complex backend, no
draconic deadline
Angular1 has a big community.
Angular2 why not?
Angular2 is already used by Google
Angular2 is made by Google
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
We are very good on Angular1
New business tool, very complex backend, no
draconic deadline
Angular1 has a big community.
Angular2 why not?
Angular2 is already used by Google
Angular2 is made by Google
When it will be officially released?
Will be?
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Why Angular2
<framework agnostic>
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
First install
Typescript
• added type of the variable 

when declaring it.
• ECMAScript6/7 > ECMAScript 5
• added public, private, protected
• Typescript updates/news
• type definitions (.d.ts)
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
First install
Webpack
• Module bundling
• Works great
• Browsersync
• Magic
• Where is the documentation?
• Gulp/Grunt packages?
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
First install
Angular2 Router
• Many bugs
• No Guard support (ACL)
• No community
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
Beta.3
Try to do a CRUD app
first ng2 component
first ng2 directive
Ooo Observables?
see the RXJS documentation
why Observables … I love the promises…
so .. Observables.toPromise :D
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
Beta.8
First single app
@ngrx/router
First feature: make a grid with data from an API
angular2/http … what is this?
no http interceptor?
how I can do a GET request?
but a POST?
First form with validators.
Wow … NG2 doesn't have a documentation.
Typings fixes
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
Beta.14
I tried to make a gulp config.
I returned on Webpack
My first form doesn't work after ng version
upgrade
The upgrade, added many <Form> improvements
Typings fixes
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
RC.0
Refactoring application angular2 -> @angular
Added some basic automated tests
The upgrade, added many <Form> improvements
Typings fixes
Real features & components:
grid component
modals
loaders
authentication & authorization
application code
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
RC.2
Added animations
My business code from forms are deprecated
I created a Router Guard (for ngrx/router)
I created a Guard directive
Typings fixes
Business Models
Where is the Factory from ng1?
Wow … I will create a simple js class.
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
RC.4
My tests used deprecated stuff.
so … I removed them.
Application refactoring
@ngrx/router project is abandoned
My awesome Guard also should be removed…
Install and configure the default router
Write a new Guard for this router
Typings fixes
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
RC.5
‘directives’ & ‘pipes’ in @component decorator are
deprecated
Remove template driven forms, use only reactive
forms
Ng-Modules was added
Rewrote the app
Authentication module
Authorisation module
First Business Tool module
First Business Tool module
Shared/UI module
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
2.0.1
Smooth update …
only warnings :)
Typings fixes
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Timeline upgrades
2.1.1
Started to package internal ng2 libraries with NPM
Any important module is now a private NPM
package
We wrote the typings for our NPM packages
Tried to write some tests
Added TypeDoc
Dev (with dev build) webserver
Prod (with prod build) webserver
✦ Introduction
✴ About me
✦ Why Angular2?
✦ First install
✦ Timeline upgrades
✴ Beta.3
✴ Beta.8
✴ Beta.14
✴ RC.0
✴ RC.2
✴ RC.4
✴ RC.5
✴ 2.0.1
✴ 2.1.1
✴ Conclusions
Conclusions
Beta or not?
Definitely yes
Why?
You are the community
You witness the evolution of the framework
You learn much faster
Thanks for watching!
Ionita Dragos Cristian
SoftwareEngineer@AdoreMe
https://www.linkedin.com/in/
dragos-ionita-8ab20756

More Related Content

PDF
Angular2 - getting-ready
PDF
Angular2 with type script
PDF
Angular 2... so can I use it now??
PDF
The evolution of Angular 2 @ AngularJS Munich Meetup #5
PDF
Angular 2: What's New?
PDF
Angular 2 - Core Concepts
PDF
Angular 2 : le réveil de la force
Angular2 - getting-ready
Angular2 with type script
Angular 2... so can I use it now??
The evolution of Angular 2 @ AngularJS Munich Meetup #5
Angular 2: What's New?
Angular 2 - Core Concepts
Angular 2 : le réveil de la force

What's hot (20)

PDF
Angular2 with TypeScript
PDF
Angular2 intro
PPTX
Talk for DevFest 2021 - GDG Bénin
PDF
Getting Started with Angular 2
PPTX
Angular1x and Angular 2 for Beginners
PPTX
PDF
Building Universal Applications with Angular 2
ODP
Introduction to Angular 2
PDF
An Intro to Angular 2
PPTX
What’s new in angular 2
PDF
Angular 2: core concepts
PDF
Angular 2 overview
PPTX
PDF
Angular 2 Crash Course
PPTX
Angular 1.x vs 2 - In code level
PDF
What is Angular version 4?
PDF
Angular 2 - An Introduction
PDF
Introduction to angular 2
PPTX
PPT on Angular 2 Development Tutorial
PPTX
Introduction to Angular2
Angular2 with TypeScript
Angular2 intro
Talk for DevFest 2021 - GDG Bénin
Getting Started with Angular 2
Angular1x and Angular 2 for Beginners
Building Universal Applications with Angular 2
Introduction to Angular 2
An Intro to Angular 2
What’s new in angular 2
Angular 2: core concepts
Angular 2 overview
Angular 2 Crash Course
Angular 1.x vs 2 - In code level
What is Angular version 4?
Angular 2 - An Introduction
Introduction to angular 2
PPT on Angular 2 Development Tutorial
Introduction to Angular2

Viewers also liked (19)

PDF
Angular2 workshop
ODP
Migrating UI-Sortable to Angular 2
PDF
How Angular2 Can Improve Your AngularJS Apps Today!
PDF
New power of Angular2 Router
PPTX
Angular2 inter3
PDF
Modules in angular 2.0 beta.1
PDF
Sql server 2012 tutorials reporting services
PPTX
Angular2 router&http
PDF
The productive developer guide to Angular 2
PPTX
Microsoft SQL Server Data Warehouses for SQL Server DBAs
PDF
Data Flow Patterns in Angular 2 - Sebastian Müller
PPT
SQL Server Transaction Management
PDF
Angular Pipes Workshop
PDF
Introduce Angular2 & render & firebase flow
ODP
Svn Basic Tutorial
PDF
Angular2
PDF
Angular 2 for Java Developers
PPTX
RxJS and Reactive Programming - Modern Web UI - May 2015
PDF
Angular 2 Essential Training
Angular2 workshop
Migrating UI-Sortable to Angular 2
How Angular2 Can Improve Your AngularJS Apps Today!
New power of Angular2 Router
Angular2 inter3
Modules in angular 2.0 beta.1
Sql server 2012 tutorials reporting services
Angular2 router&http
The productive developer guide to Angular 2
Microsoft SQL Server Data Warehouses for SQL Server DBAs
Data Flow Patterns in Angular 2 - Sebastian Müller
SQL Server Transaction Management
Angular Pipes Workshop
Introduce Angular2 & render & firebase flow
Svn Basic Tutorial
Angular2
Angular 2 for Java Developers
RxJS and Reactive Programming - Modern Web UI - May 2015
Angular 2 Essential Training

Similar to Adventures with Angular 2 (20)

PDF
Brief introduction to Angular 2.0 & 4.0
PPTX
Angular 2 어디까지 왔을까
PDF
Angular, the New Angular JS
PDF
El viaje de Angular1 a Angular2
PPTX
What’s New in Angular 15.pptx
PDF
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
PDF
Angular v2 et plus : le futur du développement d'applications en entreprise
PDF
Myths of Angular 2: What Angular Really Is
PDF
Web componenet using angular element
PDF
The Angular road from 1.x to 2.0
PDF
AzovDevMeetup 2016 | Angular 2: обзор | Александр Шевнин
PDF
Getting to Angular 2
PDF
PDF
Angular 2.0
PDF
Angular 2 Examples | Angular CRUD Application | Angular Tutorial | Angular Tr...
PPTX
Grails & Angular: unleashing the dynamic duo
PDF
Code review and automated testing for Puppet code
PDF
PPTX
Angular
PDF
Introduction to Angular 2
Brief introduction to Angular 2.0 & 4.0
Angular 2 어디까지 왔을까
Angular, the New Angular JS
El viaje de Angular1 a Angular2
What’s New in Angular 15.pptx
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
Angular v2 et plus : le futur du développement d'applications en entreprise
Myths of Angular 2: What Angular Really Is
Web componenet using angular element
The Angular road from 1.x to 2.0
AzovDevMeetup 2016 | Angular 2: обзор | Александр Шевнин
Getting to Angular 2
Angular 2.0
Angular 2 Examples | Angular CRUD Application | Angular Tutorial | Angular Tr...
Grails & Angular: unleashing the dynamic duo
Code review and automated testing for Puppet code
Angular
Introduction to Angular 2

More from Dragos Ionita (7)

PDF
Reactive programming - Observable
PDF
The new way to write a frontend software
ODP
Robotics and Arduino (Arduino UNO)
PDF
Html5 - Awesome APIs
PDF
Hybrid Mobile Application with Ionic Framework
PDF
Powerful JavaScript Tips and Best Practices
PDF
Google Tag Manager (GTM)
Reactive programming - Observable
The new way to write a frontend software
Robotics and Arduino (Arduino UNO)
Html5 - Awesome APIs
Hybrid Mobile Application with Ionic Framework
Powerful JavaScript Tips and Best Practices
Google Tag Manager (GTM)

Recently uploaded (20)

PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PPT
3.Software Design for software engineering
PPTX
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
PPTX
ESDS_SAP Application Cloud Offerings.pptx
PDF
Mobile App Backend Development with WordPress REST API: The Complete eBook
PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PPTX
AI Tools Revolutionizing Software Development Workflows
PPTX
SAP Business AI_L1 Overview_EXTERNAL.pptx
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PPTX
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
PPTX
StacksandQueuesCLASS 12 COMPUTER SCIENCE.pptx
PDF
Difference Between Website and Web Application.pdf
PPTX
Lesson-3-Operation-System-Support.pptx-I
PDF
Top 10 Project Management Software for Small Teams in 2025.pdf
PDF
Adlice Diag Crack With Serial Key Free Download 2025
PDF
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
PPTX
ROI from Efficient Content & Campaign Management in the Digital Media Industry
PPTX
Chapter_05_System Modeling for software engineering
PPTX
Human Computer Interaction lecture Chapter 2.pptx
PDF
Coding with GPT-5- What’s New in GPT 5 That Benefits Developers.pdf
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
3.Software Design for software engineering
Independent Consultants’ Biggest Challenges in ERP Projects – and How Apagen ...
ESDS_SAP Application Cloud Offerings.pptx
Mobile App Backend Development with WordPress REST API: The Complete eBook
Why 2025 Is the Best Year to Hire Software Developers in India
AI Tools Revolutionizing Software Development Workflows
SAP Business AI_L1 Overview_EXTERNAL.pptx
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
StacksandQueuesCLASS 12 COMPUTER SCIENCE.pptx
Difference Between Website and Web Application.pdf
Lesson-3-Operation-System-Support.pptx-I
Top 10 Project Management Software for Small Teams in 2025.pdf
Adlice Diag Crack With Serial Key Free Download 2025
WhatsApp Chatbots The Key to Scalable Customer Support.pdf
ROI from Efficient Content & Campaign Management in the Digital Media Industry
Chapter_05_System Modeling for software engineering
Human Computer Interaction lecture Chapter 2.pptx
Coding with GPT-5- What’s New in GPT 5 That Benefits Developers.pdf

Adventures with Angular 2

  • 1. d Adventures with Angular 2 Dragos Ionita @ adoreme.com
  • 2. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Introduction I build business tools @Adore Me Why Angular2? Why Angular2 Beta.3 in production code? What did I personally learn?
  • 3. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions About me: my journey
  • 4. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 New business tool, very complex backend, no draconic deadline
  • 5. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 We are very good on Angular1 New business tool, very complex backend, no draconic deadline
  • 6. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 We are very good on Angular1 New business tool, very complex backend, no draconic deadline Angular1 has a big community. Angular2 why not?
  • 7. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 We are very good on Angular1 New business tool, very complex backend, no draconic deadline Angular1 has a big community. Angular2 why not? Angular2 is already used by Google
  • 8. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 We are very good on Angular1 New business tool, very complex backend, no draconic deadline Angular1 has a big community. Angular2 why not? Angular2 is already used by Google Angular2 is made by Google
  • 9. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 We are very good on Angular1 New business tool, very complex backend, no draconic deadline Angular1 has a big community. Angular2 why not? Angular2 is already used by Google Angular2 is made by Google When it will be officially released? Will be?
  • 10. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Why Angular2 <framework agnostic>
  • 11. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions First install Typescript • added type of the variable 
 when declaring it. • ECMAScript6/7 > ECMAScript 5 • added public, private, protected • Typescript updates/news • type definitions (.d.ts)
  • 12. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions First install Webpack • Module bundling • Works great • Browsersync • Magic • Where is the documentation? • Gulp/Grunt packages?
  • 13. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions First install Angular2 Router • Many bugs • No Guard support (ACL) • No community
  • 14. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades Beta.3 Try to do a CRUD app first ng2 component first ng2 directive Ooo Observables? see the RXJS documentation why Observables … I love the promises… so .. Observables.toPromise :D
  • 15. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades Beta.8 First single app @ngrx/router First feature: make a grid with data from an API angular2/http … what is this? no http interceptor? how I can do a GET request? but a POST? First form with validators. Wow … NG2 doesn't have a documentation. Typings fixes
  • 16. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades Beta.14 I tried to make a gulp config. I returned on Webpack My first form doesn't work after ng version upgrade The upgrade, added many <Form> improvements Typings fixes
  • 17. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades RC.0 Refactoring application angular2 -> @angular Added some basic automated tests The upgrade, added many <Form> improvements Typings fixes Real features & components: grid component modals loaders authentication & authorization application code
  • 18. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades RC.2 Added animations My business code from forms are deprecated I created a Router Guard (for ngrx/router) I created a Guard directive Typings fixes Business Models Where is the Factory from ng1? Wow … I will create a simple js class.
  • 19. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades RC.4 My tests used deprecated stuff. so … I removed them. Application refactoring @ngrx/router project is abandoned My awesome Guard also should be removed… Install and configure the default router Write a new Guard for this router Typings fixes
  • 20. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades RC.5 ‘directives’ & ‘pipes’ in @component decorator are deprecated Remove template driven forms, use only reactive forms Ng-Modules was added Rewrote the app Authentication module Authorisation module First Business Tool module First Business Tool module Shared/UI module
  • 21. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades 2.0.1 Smooth update … only warnings :) Typings fixes
  • 22. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Timeline upgrades 2.1.1 Started to package internal ng2 libraries with NPM Any important module is now a private NPM package We wrote the typings for our NPM packages Tried to write some tests Added TypeDoc Dev (with dev build) webserver Prod (with prod build) webserver
  • 23. ✦ Introduction ✴ About me ✦ Why Angular2? ✦ First install ✦ Timeline upgrades ✴ Beta.3 ✴ Beta.8 ✴ Beta.14 ✴ RC.0 ✴ RC.2 ✴ RC.4 ✴ RC.5 ✴ 2.0.1 ✴ 2.1.1 ✴ Conclusions Conclusions Beta or not? Definitely yes Why? You are the community You witness the evolution of the framework You learn much faster
  • 24. Thanks for watching! Ionita Dragos Cristian SoftwareEngineer@AdoreMe https://www.linkedin.com/in/ dragos-ionita-8ab20756