Angular2
New World of
Angular 2
1
CloudCherry 4th Feb
Introduction - ngCrud Angular2
Little about Myself
2
Rahat Khanna
@mappmechanic
Bangalore
Front End Dev Blogger Author
appsonmob.com
airpair.com
packtpub.com/blog
pluralsight.org
Introduction - ngCrud Angular2
Agenda
3
1. Discuss about Web, Front End
Frameworks and Angular2
2. Latest News around Angular 2 &
its Toolset - Universal, Mobile, CLI,
Windows
Some Cool Demos & Show off
for Angular 2 by Awesome Devs
Introduction - ngCrud Angular2
Evolution of Web
4
1993 - 1997: Static
HTML Websites, GIFs,
Minimal Javascript and
DHTML
1995 - 2002: Dynamic Web
Pages, Server Side
Programming - CGI, Perl,
PHP, JSP, Java
2002-2007: CMS Systems
like Wordpress, Drupal,
Joomla etc - HTML4, Initial
Ajax, Canvas, Web Fonts
2008-2012: RIA Apps,
Client Server Apps, CSS3,
Animations, Offline,
Responsive Design
2012-2014: Cloud
Apps - Salesforce,
Google Drive, MS
Office 360, Paypal
2015-2016: User Experience -
Front End MVC, Single Page
Apps - Angular, React, Node,
Nginx, IOT, Smartwatches
Introduction - ngCrud Angular2
SPA
App Like User Experience

More Robust Client Side Logic

Navigation History Should be Maintained

Support Offline

Dynamic Templating & Data Binding

Fluid Transitions & Nested Views

SPA - History - Angular 1.5
5
AngularJS 1.X
Two way Data Binding
Directives
Templates
MVC or MV*
Dependency Injection

• Lifecycle of Angular 1 app is
complex
• Scope Inheritance & Access
to Parent Scope Directly
• Painstaking Digest Cycle and
$apply method
• Name based dependency
injection
• Excessive Watchers if your
apps Scales to complex
scenarios
• No inbuilt Nested Routing
• ng-if & ng-repeat - the
Culprits
Introduction - ngCrud Angular2
Intro to Angular2
6
Develop Across All Platforms
2.1.0-rc Released
Speed & Performance
Web Workers, Server Side Rendering, Robust Data
Modeling - RxJS, GraphQL, ImmutableJS, Redux
Web, Mobile Web, Smartwatches, Native
Mobile, Desktop - Electron, Native Script
Incredible Tooling Loved by Millions
CLI, Simple Declarative Templates,
Chrome Dev Extensions, Development
Server, Static Code Analyzer
Adoption by Tech Giants & Corporates,
Awesome Communities like Angular
Beers, Angular Connect, Angular Camp,
Angular Air, Extensive IDEs Support
Introduction - ngCrud Angular2
Tech Stack
Introduction - ngCrud Angular2
Dev Environment Setup
8
Step1: 

Install NodeJS & NPM for managing dependencies.
Step2: 

Install npm dependencies using package.json or npm install
commands - angular2, systemjs, es6-promise, es6-shim, rxjs,
zone.js
Step3: 

Configure Typescript configurations using a file tsconfig.json
Step4: 

Load Typescript typings for ES6 in a file named typings.json
OLD
Introduction - ngCrud Angular2
Angular CLI
9
• Easy to Use with simple
Commands
• NPM Based
• Create an App with All Boilerplate
• Generate Components, Routes,
Services, Pipes etc.
• Automatically generate Simple
Test Shells & E2E Tests
• Run Dev Server
Introduction - ngCrud Angular2
Angular Universal
10
• NodeJS & Express Integration
• ASP.net Support Also Possible
• Server Side Initial Rendering
• Improves SEO
• Fastest Critical/First Render
• Better Perceived
Performance
• Initial Data Loaded with the
Page itself
Example: http://site-map-success.herokuapp.com/
Introduction - ngCrud Angular2
Angular Mobile & PWA
11
• Performance of native,
discoverability of the Web
• Automatic Progressive Web Apps
$ ng new hello-mobile --mobile
• Cross Platform Support
https://github.com/jelbourn/
material2-app.git
Introduction - ngCrud Angular2
Angular 2 Speed & Performance
12
• Change Detection
• Code Splitting
• Code-splitting enables users to only load code
required to render the view they request.
• Code generation - CLI, Server Rendering, Ahead of
Time Compilation
• Faster Rendering
• Fewer Asynchronous Requests
• Smaller Angular framework download size
• Using Tree Shaking
Introduction - ngCrud Angular2
Angular 2 Data Libraries
13
Angular 2 - Redux
Introduction - ngCrud Angular2
Angular 2 Cross Platform
14
Native Script for
Angular 2 by
Telerik
Ionic 2 with
Angular 2
React Native with Angular 2
https://github.com/preboot/angular2-
universal-windows-app
Electron Angular 2
Introduction - ngCrud Angular2
Angular 2 Component
15
import {bootstrap} from 'angular2/platform/browser';
import {Component} from 'angular2/core';
@Component({
selector: 'app',
template:`<input type='text' placeholder= "Enter first name
" [(ngModel)] = "firstName">
<br>Hello {{firstName}} `
})
class GreetingComponent {
firstName: string;
lastName: string;
}
bootstrap(GreetingComponent);
Introduction - ngCrud Angular2
Angular 2 Hands-On
16
Most popular use case for any App
- CRUD APP
- List of Model Objects
- Show/Hide Details
- Add New Model Object
Angular2 17
Thanks
mAppMechanic
twitter.com/mAppMechanic
linkedin.com/in/rahatkh
yehtechnologies@gmail.com
17

More Related Content

PDF
Mean Stack - An Overview
PDF
Node.js with Express
PPTX
Lazy angular w/ webpack
PDF
Node, express & sails
PDF
React.js and Flux in details
PDF
Server Side React for WordPress by Muhammad Muhsin @ The JavaScript for WordP...
PDF
An Intro to Angular 2
PPTX
Introduction to mean stack
Mean Stack - An Overview
Node.js with Express
Lazy angular w/ webpack
Node, express & sails
React.js and Flux in details
Server Side React for WordPress by Muhammad Muhsin @ The JavaScript for WordP...
An Intro to Angular 2
Introduction to mean stack

What's hot (20)

PDF
Angular 2 vs React. What to chose in 2017?
PPTX
Server side rendering review
PDF
Clojure web dev history
PDF
MEAN Stack WeNode Barcelona Workshop
PDF
The MEAN stack - SoCalCodeCamp - june 29th 2014
PPTX
Angular CLI : HelloWorld
PDF
Angular meetup 2 2019-08-29
PPT
Nodejs - Building a RESTful API
PPTX
MEAN stack
PPTX
PDF
Angular 2 - Core Concepts
PPTX
The Saga of JavaScript and TypeScript: Part 1
PPTX
JS digest. February 2017
PDF
NodeSummit - MEAN Stack
PPTX
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
PPSX
Server Side Rendering, caching and performance
PPTX
Gdg ionic 2
PPTX
Ionic 2 - Introduction
PDF
Angular 2 vs React
Angular 2 vs React. What to chose in 2017?
Server side rendering review
Clojure web dev history
MEAN Stack WeNode Barcelona Workshop
The MEAN stack - SoCalCodeCamp - june 29th 2014
Angular CLI : HelloWorld
Angular meetup 2 2019-08-29
Nodejs - Building a RESTful API
MEAN stack
Angular 2 - Core Concepts
The Saga of JavaScript and TypeScript: Part 1
JS digest. February 2017
NodeSummit - MEAN Stack
MongoDB Days Silicon Valley: Building Applications with the MEAN Stack
Server Side Rendering, caching and performance
Gdg ionic 2
Ionic 2 - Introduction
Angular 2 vs React

Viewers also liked (14)

PDF
Web Components: Rethinking Web App Development
PDF
MAppMechanic CodeLabs - PolymerJS Advanced Topics for Custom Elements
PDF
MAppMechanic CodeLabs - PolymerJS Introduction
PDF
Web components are the future of the web - Take advantage of new web technolo...
PDF
Intro to Web Components, Polymer & Vaadin Elements
PDF
PolymerJS 開發實戰
PPTX
Angular2 / Typescript symposium Versusmind
PDF
MAppMechanic CodeLabs - PolymerJS Custom Elements
PPTX
How to Upgrade Angular 1 to Angular 2 - Piece by Piece
PDF
Data models in Angular 1 & 2
PPTX
Migrating an Application from Angular 1 to Angular 2
PPTX
Angular 2 vs Angular 1
ODP
Introduction to Angular 2
PPTX
Angular 2 KTS
Web Components: Rethinking Web App Development
MAppMechanic CodeLabs - PolymerJS Advanced Topics for Custom Elements
MAppMechanic CodeLabs - PolymerJS Introduction
Web components are the future of the web - Take advantage of new web technolo...
Intro to Web Components, Polymer & Vaadin Elements
PolymerJS 開發實戰
Angular2 / Typescript symposium Versusmind
MAppMechanic CodeLabs - PolymerJS Custom Elements
How to Upgrade Angular 1 to Angular 2 - Piece by Piece
Data models in Angular 1 & 2
Migrating an Application from Angular 1 to Angular 2
Angular 2 vs Angular 1
Introduction to Angular 2
Angular 2 KTS

Similar to New World of Angular (v2+) (20)

PPTX
WebDev Simplified React.js.pptx
PPTX
The next step from Microsoft - Vnext (Srdjan Poznic)
PPTX
Why choose Angular 6?
PDF
Brief introduction to Angular 2.0 & 4.0
PPTX
ASP .Net Core SPA Templates
PDF
Angular, the New Angular JS
PPTX
Presentation on angular 5
PPTX
Angular 2.0
PDF
Introduction to node js - From "hello world" to deploying on azure
PDF
Appcelerator Titanium Alloy
PDF
Appcelerator Titanium Alloy
PDF
Web componenet using angular element
PDF
Beginning MEAN Stack
PDF
JSFest 2019: Technology agnostic microservices at SPA frontend
PPTX
Building Applications With the MEAN Stack
PPTX
Angular Universal
PPTX
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
DOCX
Vitaliy Kryvonos_CV_up
PPTX
Angular4 getting started
PPTX
Angular js workshop
WebDev Simplified React.js.pptx
The next step from Microsoft - Vnext (Srdjan Poznic)
Why choose Angular 6?
Brief introduction to Angular 2.0 & 4.0
ASP .Net Core SPA Templates
Angular, the New Angular JS
Presentation on angular 5
Angular 2.0
Introduction to node js - From "hello world" to deploying on azure
Appcelerator Titanium Alloy
Appcelerator Titanium Alloy
Web componenet using angular element
Beginning MEAN Stack
JSFest 2019: Technology agnostic microservices at SPA frontend
Building Applications With the MEAN Stack
Angular Universal
Angular, ASP.NET Core, and Visual Studio Code - Oh My!
Vitaliy Kryvonos_CV_up
Angular4 getting started
Angular js workshop

More from Rahat Khanna a.k.a mAppMechanic (12)

PDF
Introduction to React Native & Rendering Charts / Graphs
PDF
Angular Observables & RxJS Introduction
PDF
MAppMechanic CodeLabs - PolymerJS Elements - Paper, Gold, Neon, Platinum, Mol...
Introduction to React Native & Rendering Charts / Graphs
Angular Observables & RxJS Introduction
MAppMechanic CodeLabs - PolymerJS Elements - Paper, Gold, Neon, Platinum, Mol...

Recently uploaded (20)

PDF
TicketRoot: Event Tech Solutions Deck 2025
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PDF
Decision Optimization - From Theory to Practice
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PDF
Human Computer Interaction Miterm Lesson
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Streamline Vulnerability Management From Minimal Images to SBOMs
PPTX
maintenance powerrpoint for adaprive and preventive
PDF
Intravenous drug administration application for pediatric patients via augmen...
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
Altius execution marketplace concept.pdf
PDF
Internet of Things (IoT) – Definition, Types, and Uses
PDF
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
PDF
substrate PowerPoint Presentation basic one
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Chapter 1: computer maintenance and troubleshooting
PPTX
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
TicketRoot: Event Tech Solutions Deck 2025
Child-friendly e-learning for artificial intelligence education in Indonesia:...
Decision Optimization - From Theory to Practice
CEH Module 2 Footprinting CEH V13, concepts
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
Human Computer Interaction Miterm Lesson
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Streamline Vulnerability Management From Minimal Images to SBOMs
maintenance powerrpoint for adaprive and preventive
Intravenous drug administration application for pediatric patients via augmen...
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Report in SIP_Distance_Learning_Technology_Impact.pptx
Altius execution marketplace concept.pdf
Internet of Things (IoT) – Definition, Types, and Uses
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
substrate PowerPoint Presentation basic one
Examining Bias in AI Generated News Content.pdf
Chapter 1: computer maintenance and troubleshooting
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf

New World of Angular (v2+)

  • 1. Angular2 New World of Angular 2 1 CloudCherry 4th Feb
  • 2. Introduction - ngCrud Angular2 Little about Myself 2 Rahat Khanna @mappmechanic Bangalore Front End Dev Blogger Author appsonmob.com airpair.com packtpub.com/blog pluralsight.org
  • 3. Introduction - ngCrud Angular2 Agenda 3 1. Discuss about Web, Front End Frameworks and Angular2 2. Latest News around Angular 2 & its Toolset - Universal, Mobile, CLI, Windows Some Cool Demos & Show off for Angular 2 by Awesome Devs
  • 4. Introduction - ngCrud Angular2 Evolution of Web 4 1993 - 1997: Static HTML Websites, GIFs, Minimal Javascript and DHTML 1995 - 2002: Dynamic Web Pages, Server Side Programming - CGI, Perl, PHP, JSP, Java 2002-2007: CMS Systems like Wordpress, Drupal, Joomla etc - HTML4, Initial Ajax, Canvas, Web Fonts 2008-2012: RIA Apps, Client Server Apps, CSS3, Animations, Offline, Responsive Design 2012-2014: Cloud Apps - Salesforce, Google Drive, MS Office 360, Paypal 2015-2016: User Experience - Front End MVC, Single Page Apps - Angular, React, Node, Nginx, IOT, Smartwatches
  • 5. Introduction - ngCrud Angular2 SPA App Like User Experience More Robust Client Side Logic Navigation History Should be Maintained Support Offline Dynamic Templating & Data Binding Fluid Transitions & Nested Views SPA - History - Angular 1.5 5 AngularJS 1.X Two way Data Binding Directives Templates MVC or MV* Dependency Injection • Lifecycle of Angular 1 app is complex • Scope Inheritance & Access to Parent Scope Directly • Painstaking Digest Cycle and $apply method • Name based dependency injection • Excessive Watchers if your apps Scales to complex scenarios • No inbuilt Nested Routing • ng-if & ng-repeat - the Culprits
  • 6. Introduction - ngCrud Angular2 Intro to Angular2 6 Develop Across All Platforms 2.1.0-rc Released Speed & Performance Web Workers, Server Side Rendering, Robust Data Modeling - RxJS, GraphQL, ImmutableJS, Redux Web, Mobile Web, Smartwatches, Native Mobile, Desktop - Electron, Native Script Incredible Tooling Loved by Millions CLI, Simple Declarative Templates, Chrome Dev Extensions, Development Server, Static Code Analyzer Adoption by Tech Giants & Corporates, Awesome Communities like Angular Beers, Angular Connect, Angular Camp, Angular Air, Extensive IDEs Support
  • 7. Introduction - ngCrud Angular2 Tech Stack
  • 8. Introduction - ngCrud Angular2 Dev Environment Setup 8 Step1: 
 Install NodeJS & NPM for managing dependencies. Step2: 
 Install npm dependencies using package.json or npm install commands - angular2, systemjs, es6-promise, es6-shim, rxjs, zone.js Step3: 
 Configure Typescript configurations using a file tsconfig.json Step4: 
 Load Typescript typings for ES6 in a file named typings.json OLD
  • 9. Introduction - ngCrud Angular2 Angular CLI 9 • Easy to Use with simple Commands • NPM Based • Create an App with All Boilerplate • Generate Components, Routes, Services, Pipes etc. • Automatically generate Simple Test Shells & E2E Tests • Run Dev Server
  • 10. Introduction - ngCrud Angular2 Angular Universal 10 • NodeJS & Express Integration • ASP.net Support Also Possible • Server Side Initial Rendering • Improves SEO • Fastest Critical/First Render • Better Perceived Performance • Initial Data Loaded with the Page itself Example: http://site-map-success.herokuapp.com/
  • 11. Introduction - ngCrud Angular2 Angular Mobile & PWA 11 • Performance of native, discoverability of the Web • Automatic Progressive Web Apps $ ng new hello-mobile --mobile • Cross Platform Support https://github.com/jelbourn/ material2-app.git
  • 12. Introduction - ngCrud Angular2 Angular 2 Speed & Performance 12 • Change Detection • Code Splitting • Code-splitting enables users to only load code required to render the view they request. • Code generation - CLI, Server Rendering, Ahead of Time Compilation • Faster Rendering • Fewer Asynchronous Requests • Smaller Angular framework download size • Using Tree Shaking
  • 13. Introduction - ngCrud Angular2 Angular 2 Data Libraries 13 Angular 2 - Redux
  • 14. Introduction - ngCrud Angular2 Angular 2 Cross Platform 14 Native Script for Angular 2 by Telerik Ionic 2 with Angular 2 React Native with Angular 2 https://github.com/preboot/angular2- universal-windows-app Electron Angular 2
  • 15. Introduction - ngCrud Angular2 Angular 2 Component 15 import {bootstrap} from 'angular2/platform/browser'; import {Component} from 'angular2/core'; @Component({ selector: 'app', template:`<input type='text' placeholder= "Enter first name " [(ngModel)] = "firstName"> <br>Hello {{firstName}} ` }) class GreetingComponent { firstName: string; lastName: string; } bootstrap(GreetingComponent);
  • 16. Introduction - ngCrud Angular2 Angular 2 Hands-On 16 Most popular use case for any App - CRUD APP - List of Model Objects - Show/Hide Details - Add New Model Object