Modern Front-end Development with Angular JS 2.0

Slides:



Advertisements
Similar presentations
D4.3 Additional Applications iPad Application – Facebook Integration George Chrysochoidis i-sieve technologies ltd. PATHS Project Review, 12th March 2014,
Advertisements

Web Platform Trident Browser Internet Explorer.
HTML5 That’s what you need to know today Ingo Rammer, thinktecture
Niklas Smedberg Senior Engine Programmer, Epic Games
What Are My Choices for Building a Modern Web UI?
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.
Angelo Chan Kamran Bilgrami. Agenda ● WinJS - What and Why ● Modern Apps ● WinRT Architecture ● Demos o Controls o Data Bindings o Program LifeCycle Management.
Bob German Principal Architect A New on SharePoint Development Building Light-Weight Web Parts with AngularJS
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Google Web Toolkit An Overview By Shauvik Roy Choudhary.
Ultra-modern web development (for.NET
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
HTML VS. FLASH by Yaren Bilici. WHAT IS HTML5? (Hyper Text Markup Language)  Tool for developping websites  If HTML is the backbone of the page, JavaScript.
Canopy walk through Single-Page Apps (SPAs) Benjamin Howarth Freelancer, Code Gecko Umbraco UK Festival, Fri 30 th Oct 2015 CODE GECKO.
Getting Started with Aurelia
TypeScript for Alfresco and CMIS Steve Reiner CTO Integrated Semantics.
NativeScript – Open source platform to build Native iOS/Android Apps.
Getting Started with Angular 2 and TypeScript Nebraska.Code() 2016 Spencer Schneidenbach Ryvit.
Martin Kruliš by Martin Kruliš (v1.0)1.
Best Web Technologies for
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
ANGULAR 2. JavaScript is a high-level, dynamic, untyped, and interpreted programming language. JavaScript was originally developed in May 1995 by Brendan.
Angularjs 2.0 : Getting started
QML and JavaScript for Native App Development Michael Tims Jen Trieu.
PhoneGap, Processing.
Angular vs React John
Angular JS and SharePoint
State of the Art in Mobile Development
Building Desktop Apps with Node.js and Electron
Branding Without MasterPages, the Future of UX in SharePoint Online
Introduction to TypeScript
Angular 4 + TypeScript Getting Started
WWU Hackathon May 6 & 7.
Clientside MVC: A Journey
What's new in the world of SharePoint development and deployment
Development of Internet Applications jQuery, TypeScript, LESS
Extra Course
Modern Web: Single Page Applications
Kendo UI Builder Bob Brennan
The Transition to Modern Office Add-in Development
3 Things Everyone Knows About Node JS That You Don't
Multi-Device Hybrid Apps What, Why, and When to Use Hybrid Development Option Ervin Loh ALM Program Manager
Best Angular 2 interview questions and Answer that have been designed for Angular 2 programmers who are preparing online interviews on Angular 2 interviews question. Visit Website:
Not Sure how you Should React
Building Native Mobile Apps with Angular 2.0 and NativeScript
Jessica Betts, Sophia Pandey, & Ryan Amundson
A lot of Software Development is about learning
Angularjs Interview Questions and Answers By Hope Tutors.
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
SPA Revolution with WebAssembly and Blazor Rainer Stropek | software
Microsoft Build /22/2018 6:07 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Introduction to AngularJS
SPA Revolution with WebAssembly and Blazor Rainer Stropek | software
Modern web applications
Modern web applications
Secure Web Programming
Chengyu Sun California State University, Los Angeles
Angular 2 : CRUD Operations
Angular 2 Michael C. Kang.
Chengyu Sun California State University, Los Angeles
Web Technologies Computing Science Thompson Rivers University
Introduction to TypeScript
Front End Development workshop
Introduce to Angular 6 Present by: Võ Văn Hào
05 | An Introduction to AngularJS
Angular.
The Future is Now with ASP.NET Core 3.0
Running C# in the browser
SharePoint Saturday Kansas City October 19, 2019
Presentation transcript:

Modern Front-end Development with Angular JS 2.0 History of the front-end, Typescript, Component Architecture, Observables.

Javascript Frameworks AnuglarJS, React, Backbone, TodoMVC, Ember, Polymer, Knockout, Aurelia, Spine, Brick, NuclearJS, Dojo, Matreshka

Javascript-Targeting Languages Typescript, Dart, Coffeescript, asm.js, Coco, Uberscript, Caffeine, EmberScript, LiteScript, Flow, Latte JS

Why?

Times Have Changed (The Web is Maturing)

1. Hyper-text (1963) 2. HTML on WWW (1987) 3. AJAX (1999) 4. Html5 “App SandBox APIs” (2004) 5. Web Assembly, Components (Now) 6. ???

The Browser Is Just A Client

Desktop application Smartphone app Web app Embedded device (IoT) It’s just another client.

Web App or Native App? Communicates over HTTPS Runs in fullscreen Store data locally between runs Works offline Renders OpenGL graphics Uses background threads Can geo-locate using GPS Supports gamepads/joysticks Uses system speech recognition

The Browser Isn’t a Perfect Platform, but Angular JS Can Help

But First …

TypeScript Superset of Javascript (ES6) with optional typing Open source (Windows, Linux, OS X nee macOS) Passes code through — very little mangling Weakly-typed vs. strongly-typed (use both!) Recommended but not required for AngularJS 2.0

TypeScript Compiler (TSC) Output Outputted Javascript tsc --sourcemap --target ES5 parallax-simple.ts

TypeScript Compiler (TSC) Output parallax-simple.ts(6,13): error TS2322: Type 'number' is not assignable to type 'string'. Type-checking done at compile time but errors allowed (Javascript allows it) Reduces errors while developing Helps editors provide assistance (VS Code, WebStorm, others)

Angular JS 2.0

Angular JS 2.0 Open source, developed by Google + community Application framework for web and native applications Encourages code reuse through modules Not backwards-compatible with AngularJS 1.x but there is a migration path Typescript preferred Much faster than Angular JS 1.x Cleaner architecture than Angular JS 1.x

Angular JS 2.0 Architecture Component-based design. Everything is a “directive” in one of three types: component (class with a view template), structural (alters DOM e.g. ngIf, ngSwitch, ngFor), or attributive (affects style or behavior, e.g. ngClass). Uses dependency injection. Services are any Javascript class you register for injection. Preferably contain discrete, unique groupings of application logic. Miscellany: pipes, lifecycle hooks, routers, animation, and more.

Angular JS 2.0 Architecture Credit: https://angular.io/resources/images/devguide/architecture/overview2.png

Angular JS 2.0 Hello World From https://angular.io/docs/ts/latest/quickstart.html

Angular JS 2.0 Hello World From https://angular.io/docs/ts/latest/quickstart.html

Angular JS 2.0 Hello World

WOW!

Data Binding Via Interpolation

Angular JS 2.0 Hello World

Angular JS 2.0 Hello World

Basic Event Handling

Angular JS 2.0 Hello World

Components In Components

Angular JS 2.0 Hello World

Angular JS 2.0 Hello World

Javascript Patterns Javascript at Netscape (1995) Callback culture with jQuery (2006) Promises (2010) Observables (2012)

Observables Are Cool

Observables Are lazy Promises Which can be cancelled and re-tried

Promise Vs Observable Promise Observable From https://egghead.io/lessons/rxjs-rxjs-observables-vs-promises

Promise Vs Observable From https://egghead.io/lessons/rxjs-rxjs-observables-vs-promises

Promise Vs Observable Officially included in ES7 From https://www.quora.com/What-is-the-most-useful-thing-you-can-do-with-RxJS-observables

Resources https://angular.io http://typescriptlang.org https://code.visualstudio.com https://egghead.io