Angular vs React John Ptacek/@jptacek/Jptacek.com.

Slides:



Advertisements
Similar presentations
USING ANGULARJS WITH SITEFINITY
Advertisements

SUNY Polytechnic Institute CS 490 – Web Design, AJAX, jQueryAngularJS AngularJS is a client-side JavaScript Framework for adding interactivity to HTML.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Congratulations! You are part of a global community of thousands of web developers who attend Web Camps to keep their web development skills up-to-date.
Introduction to Angular James Kahng. Terms Framework Template/environment constructed in the language where you fill in details with code Library Set.
Getting Started with Angular 2 and TypeScript Nebraska.Code() 2016 Spencer Schneidenbach Ryvit.
Olmo de Corral Signum Framework Developer #olmocc React.
Best Web Technologies for
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
Using React, Drupal and Google Chrome to build an interactive kiosk + + =
Advanced Topics in Concurrency and Reactive Programming: React
An introduction to Angular 2
JQuery Fundamentals Introduction Tutorial Videos
Building Desktop Apps with Node.js and Electron
Learning About Angular
Angular 4 + TypeScript Getting Started
Peter Donker Bring2mind
Creating Lightning Fast Apps Using AngularJS
Creating React Components with JSX and Babel
Client Side Dev.
Modern Web: Single Page Applications
Kendo UI Builder Bob Brennan
Introduction to Redux Header Eric W. Greene Microsoft Virtual Academy
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
AngularJS A Gentle Introduction John
SharePoint Bruger Gruppe (SPBG) SharePoint Framework Introduction
Web DevelopmEnt Angular 4
Painless Frontend Development
Directives & Forms Capturing User Input SoftUni Team
User Interface / User Experience Demo
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
The Cliff Notes Version
Top 5 Javascript Frameworks
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 and SharePoint 2013: Lessons Learned from the Trenches
React Revived Web Driver IO for Testers
Angularjs Interview Questions and Answers By Hope Tutors.
Advanced Topics in Concurrency and Reactive Programming: React
Using REST and UI Testing to Test an Ajax Web Application
15 minute break.
Creating Lightning Fast Apps Using AngularJS
Secure Web Programming
How AngularJS Development Services different from other Framework - Kunsh Technologies.
Input CS 422: UI Design and Programming
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
CS5220 Advanced Topics in Web Programming Angular – TypeScript
Chengyu Sun California State University, Los Angeles
Creating Lightning Fast Apps Using AngularJS
Angular 2 : CRUD Operations
A JavaScript framework
DR. JOHN ABRAHAM PROFESSOR UTPA
Chengyu Sun California State University, Los Angeles
Innovation Co-Lab roots/React
Poster Child for Continuous Improvement
CS5220 Advanced Topics in Web Programming Angular – TypeScript
Web Programming Anselm Spoerri PhD (MIT) Rutgers University
Introduce to Angular 6 Present by: Võ Văn Hào
Web Client Side Technologies Raneem Qaddoura
Web Programming Anselm Spoerri PhD (MIT) Rutgers University
#04 Web Client (HTM5, React.js)
Top Tools for WordPress Development -Hidden Brains Infotech Enterprise Web & Mobile App Development Company.
05 | An Introduction to AngularJS
Angular.
Build’an’Office add-in- using’modern JavaScript tools and techniques
Modern Front-end Development with Angular JS 2.0
SharePoint Saturday Kansas City October 19, 2019
Presentation transcript:

Angular vs React John Ptacek/@jptacek/Jptacek.com

About Me @jptacek Github - jptacek Skyline Technologies

Agenda History High Level compare Getting Started Angular Things React Things Feelings

Start of a Conversation

History JavaScript – 1995 Netscape ECMAScript Standard – June 1997 Garret coins Ajax - 2005 Prototype, Dojo, jQuery – 2005/2006 ECMAScript 5 – 2009 JSON Support

History AngularJS – 2009 React – 2011 Facebook NewsFeed React – 2013 Open Sourced AngularJS 2.0 – Announced Sept 2014 Breaking changes ECMAScript 6 – June 2016

AngularJS Level set From the fine folks at Google AngularJS 1.x – Google JavaScript library for development AngularJS 2.x – Called Angular Angular is a Framework Angular is opinionated Angular has code in your markup Angular is HTML centric

React Level set From the fine folks at Facebook React is a Library (View) React is not opinionated React has markup in your code React is JavaScript centric

Angular is a Framework. React is a Library Not The Same Angular is a Framework. React is a Library

Project Setup JavaScript After Angular “QuickStart” - https://angular.io/docs/ts/latest/quickstart.html React “QuickStart” - https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Setting- Up-A-React-ES6-Webpack-Project

Project Setup Good news! Angular Command Line - https://github.com/angular/angular-cli ng new FOO React Command Line - https://github.com/facebookincubator/create-react-app create-react-app FOO

Angular – Why Upgrade Mobile First Standards focused Performance Virtual Dom Web Components

Angular is a Framework. React is a Library Not The Same Angular is a Framework. React is a Library

Code Periodic table app

Components React and Angular based on components Angular Gateway to HTML components

Compare - Component Angular import { Component } from 'angular2/core'; @Component({ selector: 'foo-Div', templateUrl: 'app/foo.html', styleUrls: [ 'app/foo.css' ] }) export class Foo { public message = 'Foo!'; }

Compare - Component React import React from 'react'; export default class Foo extends React.Component { constructor(props) { super(props); this.state = { message: 'foo!' }; } render() { return ( <div c> <p>{this.state.message}</p> </div> );}}

Templates and Databinding Angular separate HTML file React HTML is in render method JSX allows for HTML like Angular has one way and two way data binding {{element.name}} <input type="text" [(ngModel)]="inputFieldName" id="id1" /> React is stateless, no two way binding This.state.inputFieldName

Why Angular AngularJS popularity Framework means less JavaScript fatigue TypeScript Less Churn Web Component You like JavaScript in your HTML

Why React JSX Fails better You LOVE JavaScript You like HTML in your JavaScript

Feelings Angular is framework = bigger React allows you to choose 566K vs 139K for React+Redux React is a library, best of breed Sweet Christmas JavaScript churn is killing me Angular has forced consistency Angular2 is a path to web components React/JSX allows you to fail early React is JavaScript

Feelings Angular is more HTML, but not HTML (click) = “onSelect(myOject)” onClick ={ this.onSelect.bind(this,myObject)} What is Google doing?!!? Polymer and Web Components JSX can trail in tooling Typescript, blessing or curse

Feelings Mobile performance with Angular file size React mix and match approach To learn React, learn JavaScript; to learn Angular, learn Angular Angular starts quick, can get finicky soon after

Recommendations Wait Angular for enterprises React for JavaScript strong organizations/peoples

Questions?

John Ptacek @jptacek Jptacek.com github.com/jptacek