SE-2840 Dr. Mark L. Hornick1 AngularJS A library for JavaScript.

Slides:



Advertisements
Similar presentations
AJAX Introduction Drupal Commerce Camp September 2011.
Advertisements

Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
About me I attend the Edina chapter of TechMasters Been a programmer since age 13, sparked by playing video games Currently employed at GMAC as an independent.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Key question  What are the three standardized core languages used to implement web pages? Write the full name not the abbreviation and describe the “layer”
Week 5, Day 3: Observer Today Reducing coupling with the Observer The Observer pattern in Java APIs Posting events to a UI worker thread SE-2811 Slide.
Bob German Principal Architect A New on SharePoint Development Building Light-Weight Web Parts with AngularJS
SE2811 Week 7, Class 1 Composite Pattern Applications Conceptual form Class structure Coding Example Lab Thursday: Quiz SE-2811 Slide design: Dr. Mark.
SE-2840 Web Application Development 1. 2 Contact info Dr. Mark L. Hornick For office hours, course syllabus, see:
SE-2840 Dr. Mark L. Hornick1 MongoDB A persistent data store.
Detailed design – class design Domain Modeling SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Final Exam Review Closed book Closed laptop One sheet of notes permitted SE-0010 Dr. Mark L. Hornick 1.
The Adapter Pattern SE-2811 Dr. Mark L. Hornick 1.
The Façade Pattern SE-2811 Dr. Mark L. Hornick 1.
Unleash the Power of jQuery Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
SE-2840 Dr. Mark L. Hornick1 NodeJS Server-side JavaScript.
Week 2, Day 2: The Factory Method Pattern Other good design principles Cohesion vs. Coupling Implementing the Strategy Pattern Changing strategies (behaviors)
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Week 6, Class 1 & 2: Decorators Return Exam Questions about lab due tomorrow in class? Threads Locking on null object invokeLater & the squares example.
SE-1020 Dr. Mark L. Hornick 1 Inheritance and Polymorphism.
SE-280 Dr. Mark L. Hornick Multiple Regression (Cycle 4)
Dr. Martin Zhao Sept 4, Topics HTML and related tutorials on w3schools.com Related HTML tags Adding interesting features using JavaScript What is.
SE-2840 Dr. Mark L. Hornick1 Bootstrap A framework for CSS.
+ BackBone.js By. Phil Sheperd. + What is BackBone BackBone is a Javascript Framework How is this different From jQuery or Prototype? Libraries vs Framework.
Canopy walk through Single-Page Apps (SPAs) Benjamin Howarth Freelancer, Code Gecko Umbraco UK Festival, Fri 30 th Oct 2015 CODE GECKO.
The Strategy Pattern SE-2811 Dr. Mark L. Hornick 1.
JavaScript Introduction. Slide 2 Lecture Overview JavaScript background The purpose of JavaScript A first JavaScript example Introduction to getElementById.
CS-4220 Dr. Mark L. Hornick 1 CS-4220 (last time!) Web Software Applications.
SE-2840 Dr. Mark L. Hornick 1 Introduction to Ajax Asynchronous Javascript And XML.
CS2852 Week 5, Class 2 Today Queue Applications Circular Queue Implementation Testing SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
Chapter 15 Introducing jQuery Part 1. What is JavaScript? A programming language to add dynamic features to a web page. Client side.
Week 7, Day 3 Half-Exam 2 A New Pattern SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
Week 5, Day 2: Decorator Decorators Muddiest Point Tomorrow: Quiz on lab reading: web.msoe.edu/hasker/se2811/labs/5/ SE-2811 Slide design:
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
Model-View-Controller A Design Pattern SE-2030 Dr. Rob Hasker 1 Based on slides written by Dr. Mark L. Hornick Used with permission.
Week 10, Day 3 Review for the quarter SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
What is this? SE-2030 Dr. Mark L. Hornick 1. Same images with different levels of detail SE-2030 Dr. Mark L. Hornick 2.
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
Week 5, Class 3: Decorators Lab questions? Example: Starbuzz coffee Basic Pattern More examples Design Principles Compare with alternatives SE-2811 Slide.
SE2811 Week 8 – Class 2 Re: Lab due tonight SE-2811 Slide design: Dr. Mark L. Hornick Much Content: Dr. Hornick Most Errors: Dr. Yoder 1.
SE-2840 Dr. Mark L. Hornick 1 Dynamic HTML Handling events from DOM objects.
AngularJS Trends 2017
DPS Dissertation System
Creating Lightning Fast Apps Using AngularJS
Week 2, Day 1: The Factory Method Pattern
COP3530- Data Structures JSFiddle
KnockoutJS -Pradeep Shet 31st August 2014.
New cms servicemap technology and data sources review
Jessica Betts, Sophia Pandey, & Ryan Amundson
Model-View-Controller
The Document Object Model
Angular (JS): A Framework for Dynamic Web Pages
Asynchronous Javascript And XML
Model-View-Controller (MVC) Pattern
Week 7, Class 1: The Command Pattern (cont.)
Improving JavaScript Frameworks, Edge, & UWP Web Apps
Creating Lightning Fast Apps Using AngularJS
AngularJS and SharePoint I Chris Douglas Senior SharePoint Developer ECS Web:
Secure Web Programming
Social Media And Global Computing ACST 3540
Web Design and Development
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
ხელმძღვანელი: დიმიტრი ქარაული
Creating Lightning Fast Apps Using AngularJS
A JavaScript framework
Week 8, Class 3: Model-View-Controller
Web Programming Language
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

SE-2840 Dr. Mark L. Hornick1 AngularJS A library for JavaScript

What is AngularJS and what problem(s) does it address? First, consider the structure of the web apps you have done so far: Does the code present a clean implementation of the MVC pattern? Where is the View implemented? Where is the Controller implemented? Where is the Model implemented? SE-2840 Dr. Mark L. Hornick2

Typical jQuery approach ketchup pickles Add item … $(‘#add’).click(function() { var item = ‘mayo’; // or get from Ajax $(‘ul’).append(‘ ’+item+’ ’); }); SE-2840 Dr. Mark L. Hornick3

Low cohesion! Note that the Javascript function “knows” about the View, since it explicitly has to add a element to the This is poor cohesion and tight coupling SE-2840 Dr. Mark L. Hornick4

AngularJS approach {{item}} Add item … angular.module(‘app’).controller(‘ListCtrl’, function($scope) { $scope.items = [ ‘ketchup’, ‘pickles’]; $scope.addItem = function() { $scope.items.push(‘mayo’);// or get from db }; }); SE-2840 Dr. Mark L. Hornick5