Angular 2. Useful links. Allen Holub 2-1

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

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

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

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

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

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

Angular 2 and TypeScript Web Application Development

IN4MATX 133: User Interface Software

Lab 1 - Introduction to Angular

One Framework. Angular

Angular 2 Programming

Introduction to. Angular. Prof. Dr.-Ing. Thomas Wiedemann.

Angular 4 Training Course Content

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

Sample Copy. Not For Distribution.

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

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

PHP + ANGULAR4 CURRICULUM 6 WEEKS

Angular 2 and TypeScript Web Application Development

Stencil: The Time for Vanilla Web Components has Arrived

a Very Short Introduction to AngularJS

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

FRONT END WEB. {< Course Details >}

AngularJS Fundamentals

Angular from the Beginning

Ten interesting features of Google s Angular Project

Questions and Answers from Lukas Ruebbelke s AngularJS In-Depth Course

Simple AngularJS thanks to Best Practices

Integrating Angular with ASP.NET Core RESTful Services. Dan Wahlin

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

Single Page Applications using AngularJS

Demystifying Angular 2. SPAs for the Web of Tomorrow

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

Full Stack boot camp

Down With JavaScript!

Learn to Build Awesome Apps with Angular 2

What is an Object? OO Is An Organizational Principle. Process. The data doesn t move. Think Different! Allen I. Holub

Frontend Frameworks. SWE 432, Fall 2016 Design and Implementation of Software for the Web

widgetjs Documentation

Chapter 1 - Development Setup of Angular

JavaScript Frameworks

Hands on Angular Framework

Tools. SWE 432, Fall Design and Implementation of Software for the Web

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

Surrogate Dependencies (in

why? Give an app access to a resource managed by someone else, without giving the app your password. A valet key for the web Allen I.

Technical Debt in Eclipse Development. Eclipse Con France 2018

Frontend UI Training. Whats App :

Web Development for Dinosaurs An Introduction to Modern Web Development

Cisco Spark Widgets Technical drill down

The magic behind. Angular 2+

Collaborate. w/ ArcGIS Runtime SDK for Android

High Performance Single Page Application with Vue.js

Application Authorization with SET ROLE. Aurynn Shaw, Command Prompt, Inc. PGCon 2010

Developing Kubernetes Services

web.py Tutorial Tom Kelliher, CS 317 This tutorial is the tutorial from the web.py web site, with a few revisions for our local environment.

Moving WebSphere Portal Themes into Watson Content Hub. WebSphere Portal Lab Services (SEAL) Team IBM

3 Days Training Program

Aircrack-ng python bindings Documentation

Getting MEAN. with Mongo, Express, Angular, and Node SIMON HOLMES MANNING SHELTER ISLAND

Advanced React JS + Redux Development

Vue.js Developer friendly, Fast and Versatile

Yocto Overview. Dexuan Cui Intel Corporation

Course 1: Microsoft Professional Orientation: Front-End Web Developer

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Financial. AngularJS. AngularJS.

Financial. AngularJS. AngularJS. Download Full Version :

AngularJS Introduction

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine

The purpose of this tutorial is to introduce you to the Construct 2 program. First, you will be told where the software is located on the computer

FINDING TOXIC CODE. Experiences and techniques for finding dangerous code in large multi-language codebases

DOWNLOAD OR READ : VISUAL STUDIO ADD PROJECT TO SOLUTION PDF EBOOK EPUB MOBI

Build & Launch Tools (BLT) Automating best practices for enterprise sites

THE ROAD TO ANGULAR 2.0

Offline-first PWA con Firebase y Vue.js

Using Node-RED to build the internet of things

Nagaraju Bende

CodeCeption. introduction and use in Yii. Yii London Meetup - 15 April 2014 by Matteo Peach Pescarin

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

INTRODUCTION TO IONIC 2

Part 1: Data-Binding Frameworks (e.g. AngularJS)

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

Catbook Workshop: Intro to NodeJS. Monde Duinkharjav

django-baton Documentation

Topic 16: Validation. CITS3403 Agile Web Development. Express, Angular and Node, Chapter 11

WebStorm, intelligent IDE for JavaScript development

USING DOCKER FOR MXCUBE DEVELOPMENT AT MAX IV

Java Architectures A New Hope. Eberhard Wolff

Single Page Applications

MongoDB. Robert M. Vunabandi

Angular 5 vs. React When to Choose Which?

Clojure. The Revenge of Data. by Vjeran Marcinko Kapsch CarrierCom

Modern SharePoint and Office 365 Development

Some Facts Web 2.0/Ajax Security

Writing your first Web Data Connector

Software Development I

Development of a New Web Portal for the Database on Demand Service

Managing Dependencies and Runtime Security. ActiveState Deminar

Understanding Angular Directives By Jeffry Houser

Presented by. Dheepa Iyer Managing Consultant. Commissioned for. Reston SharePoint User Group. SharePoint Framework. May 2017

Transcription:

Angular 2 Allen Holub http://holub.com allen@holub.com @allenholub http://holub.com/slides 1 Useful links 2-1 2

https://angular.io/docs/ts/latest/guide/ Useful links 2 2-2 https://angular.io/docs/ts/latest/guide/ Useful links https://angular.io/docs/ts/latest/guide/cheatsheet.html 2 2-3

Useful links https://angular.io/docs/ts/latest/guide/ https://angular.io/docs/ts/latest/guide/cheatsheet.html https://www.typescriptlang.org/ 2 2-4 https://angular.io/docs/ts/latest/guide/ Useful links https://angular.io/docs/ts/latest/guide/cheatsheet.html https://www.typescriptlang.org/ https://github.com/aholub/angular 2 2-5

Useful links https://angular.io/docs/ts/latest/guide/ https://angular.io/docs/ts/latest/guide/cheatsheet.html https://www.typescriptlang.org/ https://github.com/aholub/angular Quickstart Seed git clone https://github.com/angular/quickstart.git quickstart cd quickstart npm install npm start 2 2-6 Module Architecture 3 3-1

Module Architecture Template (html) { data/methods (typescript) metadata (in module) 3 3-2 Module Architecture Service Service Service { Template (html) data/methods (typescript) metadata (in module) 3-3 3

{{value}} Bindings DOM [property] = "value" (event) = "handler" [(ng-model)] = "property" <li>{{hero.name}}</li> <hero-detail [hero]="selectedhero"></hero-detail> <li (click)="selecthero(hero)"></li> 4 4 Directives *ngfor=" " *ngif <li *ngfor="let hero of heroes"></li> <hero-detail *ngif="selectedhero"></hero-detail> 5 5

Dependency Injection Services (are essentially just classes) Form support Lifecycle hooks Router Testing (Angular Testing Platform) Other Stuff 6 6 The good 7 7-1

Bindings are way cool The fact that everything updates automatically saves a lot of dev time. The good 7 7-2 Bindings are way cool The fact that everything updates automatically saves a lot of dev time. Easier than Javascript/JQuery Might be a plus if you're dealing with undisciplined programmers The good 7 7-3

Bindings are way cool The fact that everything updates automatically saves a lot of dev time. Easier than Javascript/JQuery Might be a plus if you're dealing with undisciplined programmers Architecture is well understood Can't use normal html-development tools Bugs are hard to find The good 7 7-4 Bindings are way cool The fact that everything updates automatically saves a lot of dev time. Easier than Javascript/JQuery Might be a plus if you're dealing with undisciplined programmers Architecture is well understood Can't use normal html-development tools Bugs are hard to find s are uniform Well defined structure and lifecycle The good 7 7-5

The bad and the ugly 8 8-1 It's an Angular app Angular owns your entire page Forces a data-object architecture on you No design flexibility, polyglot implementation, etc. Not great for μservices Write only Apps get complex and hard to read very quickly Definitions are spread all over the place The bad and the ugly 8-2 8

It's an Angular app Angular owns your entire page Forces a data-object architecture on you No design flexibility, polyglot implementation, etc. Not great for μservices Write only Apps get complex and hard to read very quickly Presentation Definitions are spread all over the place (javascript/html) The bad and the ugly Agent Abstraction (Microservice) Presentation Abstraction Control 8 8-3 It's an Angular app Angular owns your entire page Forces a data-object architecture on you No design flexibility, polyglot implementation, etc. Not great for μservices Write only Apps get complex and hard to read very quickly Definitions are spread all over the place The bad and the ugly 8-4 8

It's an Angular app Angular owns your entire page Forces a data-object architecture on you No design flexibility, polyglot implementation, etc. Not great for μservices Write only Apps get complex and hard to read very quickly Definitions are spread all over the place Uses strings for html Can't use normal html-development tools The bad and the ugly html bugs are hard to find Directives are too limiting Debugging is Painful (mysterious runtime errors) 8 8-5 code() 9

Allen Holub http://holub.com allen@holub.com @allenholub? www.holub.com 10