Demystifying Angular 2. SPAs for the Web of Tomorrow

Similar documents
Angular 2: What s new? Jonas Bandi, IvoryCode GmbH

Angular 4 Training Course Content

Angular 2 Programming

Single Page Applications using AngularJS

"Charting the Course... Comprehensive Angular. Course Summary

Sample Copy. Not For Distribution.

AngularJS Fundamentals

FRONT END WEB. {< Course Details >}

ANGULAR 10. Christian Ulbrich (Zalari)

Simple AngularJS thanks to Best Practices

Ten interesting features of Google s Angular Project

ANGULAR 2.X,4.X + TYPESRCIPT by Sindhu

One Framework. Angular

Lab 1 - Introduction to Angular

Advance Mobile& Web Application development using Angular and Native Script

Full Stack Web Developer

Vue.js Developer friendly, Fast and Versatile

Angular 4 Syllabus. Module 1: Introduction. Module 2: AngularJS to Angular 4. Module 3: Introduction to Typescript

P a g e 1. Danish Technological Institute. Scripting and Web Languages Online Course k Scripting and Web Languages

Chapter 1 - Development Setup of Angular

TechWatch Report Javascript Libraries and Frameworks

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

By the end of this Angular 6 tutorial, you'll learn by building a real world example application:

PHP + ANGULAR4 CURRICULUM 6 WEEKS

Building mobile app using Cordova and AngularJS, common practices. Goran Kopevski

,

IN4MATX 133: User Interface Software

ANGULAR2 OVERVIEW. The Big Picture. Getting Started. Modules and Components. Declarative Template Syntax. Forms

Frontend Web Development with Angular. CC BY-NC-ND Carrot & Company GmbH

Arjen de Blok. Senior Technical Consultant bij ICT Groep ( sinds 1995 Programmeren sinds 1990 Technologiën. Links

Learning Node.js For Mobile Application Development By Stefan Buttigieg;Christopher Svanefalk

Front End Programming

Full Stack Web Developer

Course Outline. ProTech Professional Technical Services, Inc. Comprehensive Angular 7 Course Summary. Description

"Charting the Course... Comprehensive Angular 5. Course Summary

CodeValue. C ollege. Prerequisites: Basic knowledge of web development and especially JavaScript.

The magic behind. Angular 2+

PHP WITH ANGULAR CURRICULUM. What you will Be Able to Achieve During This Course

Front End. Presentation Layer. UI (User Interface) User <==> Data access layer

Software Architecture Documentation for the JRC MYGEOSS app for Invasive Species project

Decoupled Drupal with Angular

Html5 Css3 Javascript Interview Questions And Answers Pdf >>>CLICK HERE<<<

Basics of Web Technologies

AngularJS AN INTRODUCTION. Introduction to the AngularJS framework

Masters in Web Development

All India Council For Research & Training

"Charting the Course... Comprehensive Angular 6 Course Summary

Manual Visual Studio 2010 Web Developer Tools 2012 Professional

AngularJS Intro Homework

Practical Course: Web Development Angular JS Part I Winter Semester 2016/17. Juliane Franze

TypeScript. TypeScript. RxJS

Angular 2. Useful links. Allen Holub 2-1

Advanced React JS + Redux Development

Angular 2 and TypeScript Web Application Development

Web Development for Dinosaurs An Introduction to Modern Web Development

THE PRAGMATIC INTRO TO REACT. Clayton Anderson thebhwgroup.com WEB AND MOBILE APP DEVELOPMENT AUSTIN, TX

Cross-Platform Mobile-Entwicklung mit dem Ionic Framework

Qiufeng Zhu Advanced User Interface Spring 2017

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first.

Angular 5 vs. React When to Choose Which?

Angular2. Bernhard Niedermayer. Software Development playing around with Angular2 since alpha.

<Insert Picture Here> JavaFX 2.0

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

THE ROAD TO ANGULAR 2.0

Questions And Answers Asked In Interview For Freshers On Css Frameworks

Nagaraju Bende

INTRODUCTION TO IONIC 2

Hands on Angular Framework

welcome to BOILERCAMP HOW TO WEB DEV

Modern and Responsive Mobile-enabled Web Applications

2015 NALIT Professional Development Seminar September 30, Tools for Mobile App Development

Build Your Own Web Site The Right Way Using HTML & CSS, 2nd Edition By Ian Lloyd READ ONLINE

Upgrading to Ionic 3 APPENDIX D. Angular 4

Modern Web Application Development. Sam Hogarth

Intro Winter Semester 2016/17

Connecting Angular and CFML

HTML5 Applications Made Easy on Tizen IVI. Brian Jones / Jimmy Huang

Comprehensive Angular 2 Review of Day 3

DNCMagazine. ANGULAR. Cheat Sheet

Tarek Elachkar, VP Customer Solutions - Jahia A real world story of Angular and Apache Unomi integration.

Financial. AngularJS. AngularJS. Download Full Version :

Introduction to AngularJS

Angular 2 and TypeScript Web Application Development

Microsoft Programming in HTML5 with JavaScript and CSS3

Think like an Elm developer

Website Designing Training

3D in the Browser with WebGL. Chris Andrews 3D Product Manager Javier Gutierrez 3D Product Engineer

Before proceeding with this tutorial, you should have a basic understanding of HTML, CSS, JavaScript, TypeScript, and Document Object Model (DOM).

Nodes Tech Slides - Progressive Web Apps, 2018

JavaScript: the language of browser interactions. Claudia Hauff TI1506: Web and Database Technology

D3 + Angular JS = Visual Awesomesauce

IN Development in Platform Ecosystems Lecture 2: HTML, CSS, JavaScript

Course 20480: Programming in HTML5 with JavaScript and CSS3

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 05 Issue: 05 May p-issn:

COURSE 20480B: PROGRAMMING IN HTML5 WITH JAVASCRIPT AND CSS3

To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservices on CloudFoundry. Tony Erwin,

Unveiling Zend Studio 8.0

Helpline No WhatsApp No.:

COS 333: Advanced Programming Techniques. Copyright 2017 by Robert M. Dondero, Ph.D. Princeton University

Angular from the Beginning

Transcription:

Demystifying Angular 2 SPAs for the Web of Tomorrow Philipp Tarasiewicz, JavaLand, 08.03.2016

Web Dev / Distributed Systems 15 yr. About Me Philipp Tarasiewicz Consultant / Trainer / Developer philipp.tarasiewicz@googlemail.com @justphilmusic Consultant & coach 5 yr. Perl / CGI» Java, PHP» JavaScript / Go

AngularJS: Eine praktische Einführung in das JS-Framework First German AngularJS book dpunkt.verlag April 2014 ca. 360 pages http://dpunkt.de/buecher/4489/angularjs.html

Agenda 1 (What is Angular?) Why Angular 2?! 3 2 Angular 2 in a Nutshell 4 Migration Strategies Angular 2 Progress

(What is Angular?)

JS Framework for SPAs

Angular Overview Data Binding Scopes Modules Dependency Injection Expressions Animation Angular Filters Validation Directives Routing Services Controllers

Angular Overview Data Binding Scopes Modules Dependency Injection Expressions Animation Angular Filters Validation Directives Routing Services Controllers Very good testability!

Why Angular 2?!

Angular Recap 2009

Angular Recap 2009

Angular Recap 2009

Main Focus Then

Main Focus Then y t i l i b i s o r C o r sb t a p m o C r e s w

What do we want today?

What do we want today? Offline First!

What do we want today? Isomorphic JavaScript Client Your App Server API

Emerging Web Tech

So Angular 1.X appears rusty, right?!

Oldie but Goldie!

Angular 2 in a Nutshell

Components <my-app> <user-list> <user-image> <user-info> <navigation> <nav-item> <nav-item>

Components <my-app> <user-list> <user-image> <user-info> <navigation> <nav-item> An app is just a tree of components! <nav-item>

Components import {Component} from 'angular2/core'; @Component({ selector: 'my-app', template: '<h1>my First Angular 2 App</h1>' }) class AppComponent {}

Components Component @Input selector template[url] directives @Output providers...

Components <user-info [firstname]="user.name" (change)="onchange($event)"> </user-info>

Directives Directive selector providers

Directives Directive selector providers A directive is a component s little sister!

Directives Most Angular 1.X directives are obsolete in Angular 2. Some exceptions: ngrepeat» NgFor ngclass» NgClass

TypeScript ES5 ES6 TypeScript

TypeScript Do we really want to have static typing? Compile-Time Security Docs Tooling Refactoring

Dependency Injection Root Injector Child Injector Child Injector Child Injector Child Injector Child Injector Injector Hierarchy Child Injector

Change Detection AppComp MyComp1 SubComp11 MyComp2 SubComp12 SubComp21 Directed Graph SubComp22

Change Detection AppComp MyComp1 SubComp11 SubComp12 MyComp2 SubComp21 By default change detection happens on every browser event. SubComp22

Change Detection AppComp MyComp1 SubComp11 SubComp12 MyComp2 SubComp21 Massive optimizations possible by using Observables and Immutables! SubComp22

Unidirectional Data Flow Faster Easier to debug Easier to reason about Better suited for Rx & Flux

Isomorphic JavaScript Angular Universal Preboot Prerender app on the server to speed up client-side app loading.

Angular 2 Cheatsheet https://angular.io/cheatsheet This cheat sheet is provisional and may change.

Angular 2 in a Nutshell

Angular 2 in a Nutshell Simple

Angular 2 in a Nutshell Simple Built for Speed

Angular 2 in a Nutshell Simple Built for Speed Productive

Angular 2 in a Nutshell! s s e n i p p a H r Simple Built for Speed Productive e p o l e v e D Increased

Migration Strategies

Migration Strategies A1 Preparations A1 / A2 Interop angular.component() Router ngforward ngupgrade A1 in A2 A2 in A1

Angular 2 Progress

Angular 2 Progress Alpha Beta Final Fast Docs Your Feedback Simple P1 Issues Dev @ Google Productive Available!

Angular 2 Progress Alpha Beta Final Fast Docs Your Feedback Simple P1 Issues Dev @ Google Productive Available!

Questions to Ask Do I need to deliver or do I have time to experiment? Which browsers do I need to support? Which devices do I need to support? Do I heavily rely on 3rd-party libraries?

We are facing a bright future!

Philipp Tarasiewicz Consultant / Trainer / Developer philipp.tarasiewicz@googlemail.com @justphilmusic Thank you!