AJAX: From the Client-side with JavaScript, Back to the Server
|
|
- Brett Kelly
- 6 years ago
- Views:
Transcription
1 AJAX: From the Client-side with JavaScript, Back to the Server Asynchronous server calls and related technologies CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) CS 370, Günay (Emory) AJAX Spring / 16
2 Agenda Due 4/10: In-class demo and functional prototype deployed Have you met with Bob? Are you getting ready to deploy? Grading includes testing plan and feedback surveys. CS 370, Günay (Emory) AJAX Spring / 16
3 Agenda Due 4/10: In-class demo and functional prototype deployed Online classes: Today: Have you met with Bob? Are you getting ready to deploy? Grading includes testing plan and feedback surveys. You can still watch them, I'll accept late surveys until 4/8 (including for those of you who got no points) Clean your webapp with AJAX Learn all the lingo: JSON, SOAP, XML, REST CS 370, Günay (Emory) AJAX Spring / 16
4 Agenda Due 4/10: In-class demo and functional prototype deployed Online classes: Today: Have you met with Bob? Are you getting ready to deploy? Grading includes testing plan and feedback surveys. You can still watch them, I'll accept late surveys until 4/8 (including for those of you who got no points) Clean your webapp with AJAX Learn all the lingo: JSON, SOAP, XML, REST First, about next week's deliverable CS 370, Günay (Emory) AJAX Spring / 16
5 1st Functional Prototype: How to make the most out of it? You got something to work, so what? CS 370, Günay (Emory) AJAX Spring / 16
6 1st Functional Prototype: How to make the most out of it? You got something to work, so what? How to get feedback? CS 370, Günay (Emory) AJAX Spring / 16
7 1st Functional Prototype: How to make the most out of it? You got something to work, so what? How to get feedback? Know your clients: Who will use your service? Find them and market your demo to them Create a focus group? CS 370, Günay (Emory) AJAX Spring / 16
8 1st Functional Prototype: How to make the most out of it? You got something to work, so what? How to get feedback? Know your clients: Who will use your service? Find them and market your demo to them Create a focus group? How to get ecient feedback? CS 370, Günay (Emory) AJAX Spring / 16
9 1st Functional Prototype: How to make the most out of it? You got something to work, so what? How to get feedback? Know your clients: Who will use your service? Find them and market your demo to them Create a focus group? How to get ecient feedback? Prepare a guide for your testers (part of your testing plan) Prepare an exit survey (example questions: what's the most useful feature, what's most annoying, would you buy/use this,... ) Other ideas? (e.g., bug bounties) CS 370, Günay (Emory) AJAX Spring / 16
10 1st Functional Prototype: How to make the most out of it? You got something to work, so what? How to get feedback? Know your clients: Who will use your service? Find them and market your demo to them Create a focus group? How to get ecient feedback? Prepare a guide for your testers (part of your testing plan) Prepare an exit survey (example questions: what's the most useful feature, what's most annoying, would you buy/use this,... ) Other ideas? (e.g., bug bounties) Class grade will include post-deployment activities (see course website): reporting issues for others' and your own projects student votes for best project (extra) hacking into others' projects (extra) CS 370, Günay (Emory) AJAX Spring / 16
11 Entry/Exit Surveys Exit survey: Design Patterns and JavaScript Tell me briey about a design pattern you previously employed and found useful. Briey explain using JavaScript in your webapp as a design pattern. Entry survey: AJAX Who do you think invented AJAX? Netscape, Microsoft, or Google? (no cheating, just guess) What's the big deal? We can already run JS on client side. What's the signicance of AJAX? CS 370, Günay (Emory) AJAX Spring / 16
12 Brief History of AJAX s, websites are slow because of full page loads CS 370, Günay (Emory) AJAX Spring / 16
13 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag CS 370, Günay (Emory) AJAX Spring / 16
14 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag 1998, Microsoft Outlook Web Access team implemented the rst component XMLHTTP by client script. CS 370, Günay (Emory) AJAX Spring / 16
15 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag 1998, Microsoft Outlook Web Access team implemented the rst component XMLHTTP by client script. 1999, Microsoft used its iframe technology to dynamically update the news stories and stock quotes on the default page for Internet Explorer, and created the XMLHTTP ActiveX control in Internet Explorer 5 CS 370, Günay (Emory) AJAX Spring / 16
16 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag 1998, Microsoft Outlook Web Access team implemented the rst component XMLHTTP by client script. 1999, Microsoft used its iframe technology to dynamically update the news stories and stock quotes on the default page for Internet Explorer, and created the XMLHTTP ActiveX control in Internet Explorer 5 Adopted by Mozilla, Safari, Opera and other browsers as the XMLHttpRequest JavaScript object. CS 370, Günay (Emory) AJAX Spring / 16
17 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag 1998, Microsoft Outlook Web Access team implemented the rst component XMLHTTP by client script. 1999, Microsoft used its iframe technology to dynamically update the news stories and stock quotes on the default page for Internet Explorer, and created the XMLHTTP ActiveX control in Internet Explorer 5 Adopted by Mozilla, Safari, Opera and other browsers as the XMLHttpRequest JavaScript object. AJAX still obscure until Outlook Web Access (2000) and Oddpost (2002), Google's cross browser Ajax with Gmail (2004) and Google Maps (2005). CS 370, Günay (Emory) AJAX Spring / 16
18 Brief History of AJAX s, websites are slow because of full page loads 1996, Microsoft Internet Explorer introduces the iframe tag 1998, Microsoft Outlook Web Access team implemented the rst component XMLHTTP by client script. 1999, Microsoft used its iframe technology to dynamically update the news stories and stock quotes on the default page for Internet Explorer, and created the XMLHTTP ActiveX control in Internet Explorer 5 Adopted by Mozilla, Safari, Opera and other browsers as the XMLHttpRequest JavaScript object. AJAX still obscure until Outlook Web Access (2000) and Oddpost (2002), Google's cross browser Ajax with Gmail (2004) and Google Maps (2005). What's the big deal? CS 370, Günay (Emory) AJAX Spring / 16
19 Scene I: Mac and PC dine at SnailScape Actors/Actresses: Clients: Mac & PC Server: The Last Apache Cook: MikeSQL
20
21 What's AJAX? AJAX: Asynchronous JavaScript And XML Wikipedia page W3Schools tutorial CS 370, Günay (Emory) AJAX Spring / 16
22 What's AJAX? AJAX: Asynchronous JavaScript And XML Wikipedia page W3Schools tutorial Why async? CS 370, Günay (Emory) AJAX Spring / 16
23 What's AJAX? AJAX: Asynchronous JavaScript And XML Wikipedia page W3Schools tutorial Why async? Doesn't make you wait, happens in parallel CS 370, Günay (Emory) AJAX Spring / 16
24 AJAX (Asynchronous Javascript + XML) Uses browser s XML support: DOM, XSLT XMLHttpRequest Google Maps is best-known AJAX application Agichtein for Emory CS171, Spring
25 AJAX Design Principles The browser hosts an application, not content Application code delivered to browser, mostly as JavaScript code The server delivers data, not content Data may be plain text, JavaScript fragments, or XML documents User/application interaction is continuous and fluid UI metaphors like drag-and-drop become possible This is real coding and requires discipline Significant developer responsibility to manage conversational state over entire web transaction Agichtein for Emory CS171, Spring
26 Basic AJAX process Agichtein for Emory CS171, Spring
27 Remember the document object model (DOM) Most commonly used: document.write() document.getelementbyid() W3Schools JavaScript HTML DOM tutorial Source of all known knowledge: Mozilla Developer Network DOM page, includes: DOM reference (e.g., document) CS 370, Günay (Emory) AJAX Spring / 16
28 Review: Changing a Div Content JavaScript method document.getelementbyid("xyz") var content = document.getelementbyid("h01"); alert(content.data); alert(content.innerhtml); Almost equivalent, innerhtml preferred How to modify a div? var content = document.getelementbyid("div01"); var newtext=prompt("what do you want to change?"); content.innerhtml = newtext; <html>... <body> <h1 id="h01">an HTML Document</h1> <div id="div01">we can change this, yes we can! </div> <div id="div02">we can change this one too! </div> </body> </html> 4/5/2012 2
29 Object Variables Variables can be assigned a object value Methods and attributes of the object are now accessible through the variable. Any changes to a variable's attributes will be reflected in the original object Example: var content = document.getelementbyid("div01"); content.innerhtml="ha ha!"; <html>... <body> <h1 id="h01">an HTML Document</h1> <div id="div01">we can change this, yes we can! </div> <div id="div02">we can change this one too! </div> </body> </html> 4/5/2012 3
30 Example AJAX W3Schools.com AJAX tutorial live examples (you can edit and run them!): First example Suggestion Database Sync vs. Async (all examples) CS 370, Günay (Emory) AJAX Spring / 16
31 XML? That's kind of lame, how about JSON? Need to parse XML? Isn't there an easier way? CS 370, Günay (Emory) AJAX Spring / 16
32 XML? That's kind of lame, how about JSON? Need to parse XML? Isn't there an easier way? Yes: JSON. What is it? CS 370, Günay (Emory) AJAX Spring / 16
33 XML? That's kind of lame, how about JSON? Need to parse XML? Isn't there an easier way? Yes: JSON. What is it? JSON: JavaScript Object Notation (Wikipedia) Basically, it's JS code Return text from the server that can be directly interpreted by browser! No parsing! CS 370, Günay (Emory) AJAX Spring / 16
34 JSON in Ajax HTML Delivery. JSON data is built into the page. <html>... <script> var data = {... JSONdata... }; Agichtein for Emory CS171, Spring
35 JSON in Ajax XMLHttpRequest Obtain responsetext Parse the responsetext responsedata = eval( '(' + responsetext + ')'); responsedata = responsetext.parsejson(); Agichtein for Emory CS171, Spring
36 Secret <iframe> JSON in Ajax Request data using form.submit to the <iframe> target. The server sends the JSON text embedded in a script in a document. <html><head><script> document.domain = 'penzance.com'; parent.deliver({... JSONtext... }); </script></head></html> The function deliver is passed the value. Agichtein for Emory CS171, Spring
37 JSON in Ajax Dynamic script tag hack. Create a script node. The srcurl makes the request. The server sends the JSON text embedded in a script. deliver({... JSONtext... }); The function deliver is passed the value. The dynamic script tag hack is insecure. Agichtein for Emory CS171, Spring
38 JSONRequest A new facility. Two way data interchange between any page and any server. Exempt from the Same Origin Policy. Campaign to make a standard feature of all browsers. Agichtein for Emory CS171, Spring
39 Yahoo Web Service with JSON Tutorial/Howto: Can use nice interface widgets: Agichtein for Emory CS171, Spring
40 We have AJAX to bleach the oors, but now I need to take a shower. Do you have SOAP? Enough with the stupid household cleaner acronyms! CS 370, Günay (Emory) AJAX Spring / 16
41 We have AJAX to bleach the oors, but now I need to take a shower. Do you have SOAP? Enough with the stupid household cleaner acronyms! Calling functions remotely: SOAP: Simple Object Access Protocol XML-RPC: Remote Procedure Call through XML JSON-RPC: Replace XML with JSON (much simpler!) CS 370, Günay (Emory) AJAX Spring / 16
42 We have AJAX to bleach the oors, but now I need to take a shower. Do you have SOAP? Enough with the stupid household cleaner acronyms! Calling functions remotely: SOAP: Simple Object Access Protocol XML-RPC: Remote Procedure Call through XML JSON-RPC: Replace XML with JSON (much simpler!) Example of a JSON-RPC 2.0 request and response: --> {"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1} <-- {"jsonrpc": "2.0", "result": 19, "id": 1} CS 370, Günay (Emory) AJAX Spring / 16
43 AJAX made simple: the jquery way CS 370, Günay (Emory) AJAX Spring / 16
44 Web Hacking II: Function calls, AJAX, and JSON Emory Hackathon next weekend! CS 370, Günay (Emory) AJAX Spring / 16
45 Web Hacking II: Function calls, AJAX, and JSON Emory Hackathon next weekend! Let's hack their website. :) Breakpoints Debugging CS 370, Günay (Emory) AJAX Spring / 16
46 Web Hacking II: Function calls, AJAX, and JSON Emory Hackathon next weekend! Let's hack their website. :) Breakpoints Debugging Make those client-side JS hacks permanent: URL-triggered browser scripts (e.g., GreaseMonkey, UserScripts.org, GreaseSpot, My BlackBoard Optimizer) CS 370, Günay (Emory) AJAX Spring / 16
47 Web Hacking II: Function calls, AJAX, and JSON Emory Hackathon next weekend! Let's hack their website. :) Breakpoints Debugging Make those client-side JS hacks permanent: URL-triggered browser scripts (e.g., GreaseMonkey, UserScripts.org, GreaseSpot, My BlackBoard Optimizer) Let's hack Facebook CS 370, Günay (Emory) AJAX Spring / 16
48 Web Hacking II: Function calls, AJAX, and JSON Emory Hackathon next weekend! Let's hack their website. :) Breakpoints Debugging Make those client-side JS hacks permanent: URL-triggered browser scripts (e.g., GreaseMonkey, UserScripts.org, GreaseSpot, My BlackBoard Optimizer) Let's hack Facebook Uhh, it's hard CS 370, Günay (Emory) AJAX Spring / 16
49 Stop telling us about 2005! What's happening now? restfb: Facebook API Why is it called restfb? CS 370, Günay (Emory) AJAX Spring / 16
50 Stop telling us about 2005! What's happening now? restfb: Facebook API Why is it called restfb? REST: Representational state transfer client-server stateless cacheable layered CS 370, Günay (Emory) AJAX Spring / 16
51 Stop telling us about 2005! What's happening now? restfb: Facebook API Why is it called restfb? REST: Representational state transfer client-server stateless cacheable layered What else is happening with JavaScript? Converting from other languages: python, ruby, etc CS 370, Günay (Emory) AJAX Spring / 16
52 Upcoming episode Tuesday: Testing Scrum now! (don't forget to write down meeting minutes, including tasks assigned) CS 370, Günay (Emory) AJAX Spring / 16
The Web: Concepts and Technology
The Web: Concepts and Technology Web Services Feb 10 1 Eugene Agichtein CS 190: The Web: Concepts and Technology, Emory University Spring 2009 Today s Plan Javascript wrap-up: p Objects Functions Loops
More informationDocumentation and Deployment
Documentation and Deployment CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) I know what I learned this semester: CS 370, Günay (Emory) Documentation and
More informationWorking with Database. Client-server sides AJAX JSON Data formats Working with JSON data Request Response Bytes Database
Working with Database Client-server sides AJAX JSON Data formats Working with JSON data Request Response Bytes Database Web programming Basic Web Programming: HTML CSS JavaScript For more Dynamic Web Programming:
More informationSecurity and Authentication
Security and Authentication CS 370 SE Practicum, Cengiz Günay (Some slides courtesy of Eugene Agichtein and the Internets) CS 370, Günay (Emory) Security and Authentication Spring 2014 1 / 15 Agenda Upcoming
More informationAJAX and PHP AJAX. Christian Wenz,
AJAX and PHP Christian Wenz, AJAX A Dutch soccer team A cleaner Two characters from Iliad A city in Canada A mountain in Colorado... Asynchronous JavaScript + XML 1 1 What is AJAX?
More informationPart of this connection identifies how the response can / should be provided to the client code via the use of a callback routine.
What is AJAX? In one sense, AJAX is simply an acronym for Asynchronous JavaScript And XML In another, it is a protocol for sending requests from a client (web page) to a server, and how the information
More informationXMLHttpRequest. CS144: Web Applications
XMLHttpRequest http://oak.cs.ucla.edu/cs144/examples/google-suggest.html Q: What is going on behind the scene? What events does it monitor? What does it do when
More informationUser Interaction: jquery
User Interaction: jquery Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 jquery A JavaScript Library Cross-browser Free (beer & speech) It supports manipulating HTML elements (DOM) animations
More informationAJAX: Rich Internet Applications
AJAX: Rich Internet Applications Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming AJAX Slide 1/27 Outline Rich Internet Applications AJAX AJAX example Conclusion More AJAX Search
More informationiframe programming with jquery jquery Summit 2011
iframe programming with jquery jquery Summit 2011 who invited this guy? name s ben strange last name work at disqus co-author, Third-party JavaScript disqus? dis cuss dĭ-skŭs' third-party commenting platform
More informationAsynchronous JavaScript + XML (Ajax)
Asynchronous JavaScript + XML (Ajax) CSE 190 M (Web Programming), Spring 2008 University of Washington References: w3schools, Wikipedia Except where otherwise noted, the contents of this presentation are
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationAJAX. Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11. Sérgio Nunes
AJAX Lab. de Bases de Dados e Aplicações Web MIEIC, FEUP 2010/11 Sérgio Nunes Server calls from web pages using JavaScript call HTTP data Motivation The traditional request-response cycle in web applications
More informationWelcome to CS50 section! This is Week 10 :(
Welcome to CS50 section! This is Week 10 :( This is our last section! Final project dates Official proposals: due this Friday at noon Status report: due Monday, Nov 28 at noon Hackathon: Thursday, Dec
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More information10.1 Overview of Ajax
10.1 Overview of Ajax - History - Possibility began with the nonstandard iframe element, which appeared in IE4 and Netscape 4 - An iframe element could be made invisible and could be used to send asynchronous
More informationCredits: Some of the slides are based on material adapted from
1 The Web, revisited WEB 2.0 marco.ronchetti@unitn.it Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
More information,
Weekdays:- 1½ hrs / 3 days Fastrack:- 1½hrs / Day [Class Room and Online] ISO 9001:2015 CERTIFIED ADMEC Multimedia Institute www.admecindia.co.in 9911782350, 9811818122 Welcome to one of the highly professional
More informationOSSW ICOSST 2009, Al-Khawarizmi Institute of Computer Science University of Engineering and Technology, Lahore
Agenda What is Selenium Why Selenium Testing using record/playback and scripting tool Selenium Grid Benefits The Problem Conclusion What is Selenium Selenium is a chemical element with the atomic number
More informationDeveloping Ajax Web Apps with GWT. Session I
Developing Ajax Web Apps with GWT Session I Contents Introduction Traditional Web RIAs Emergence of Ajax Ajax ( GWT ) Google Web Toolkit Installing and Setting up GWT in Eclipse The Project Structure Running
More informationAJAX Workshop. Karen A. Coombs University of Houston Libraries Jason A. Clark Montana State University Libraries
AJAX Workshop Karen A. Coombs University of Houston Libraries Jason A. Clark Montana State University Libraries Outline 1. What you re in for 2. What s AJAX? 3. Why AJAX? 4. Look at some AJAX examples
More informationTHE NEW ERA OF WEB DEVELOPMENT. qooxdoo. Andreas Ecker, Derrell Lipman
THE NEW ERA OF WEB DEVELOPMENT qooxdoo Andreas Ecker, Derrell Lipman The Ajax Experience, 25-27 July 2007 1 Introduction Client-side JavaScript framework Professional application development Comprehensive
More informationCSC 405 Computer Security. Web Security
CSC 405 Computer Security Web Security Alexandros Kapravelos akaprav@ncsu.edu (Derived from slides by Giovanni Vigna and Adam Doupe) 1 The XMLHttpRequest Object Microsoft developers working on Outlook
More informationWeb Programming Paper Solution (Chapter wise)
What is valid XML document? Design an XML document for address book If in XML document All tags are properly closed All tags are properly nested They have a single root element XML document forms XML tree
More information2nd Year PhD Student, CMU. Research: mashups and end-user programming (EUP) Creator of Marmite
Mashups Jeff Wong Human-Computer Interaction Institute Carnegie Mellon University jeffwong@cmu.edu Who am I? 2nd Year PhD Student, HCII @ CMU Research: mashups and end-user programming (EUP) Creator of
More information2/6/2012. Rich Internet Applications. What is Ajax? Defining AJAX. Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett
What is Ajax? Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett http://www.adaptivepath.com/ideas/essays/archives /000385.php Ajax isn t really new, and isn t a single technology
More informationCITS1231 Web Technologies. Ajax and Web 2.0 Turning clunky website into interactive mashups
CITS1231 Web Technologies Ajax and Web 2.0 Turning clunky website into interactive mashups What is Ajax? Shorthand for Asynchronous JavaScript and XML. Coined by Jesse James Garrett of Adaptive Path. Helps
More informationAJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages
AJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages AJAX = Asynchronous JavaScript and XML.AJAX is not a new programming language, but a new way to use existing standards. AJAX is
More informationAjax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of
Ajax- XMLHttpResponse XMLHttpResponse - A Read only field Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of XMLHttpRequest.responseType. This
More informationCopyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum
Ajax The notion of asynchronous request processing using the XMLHttpRequest object has been around for several years, but the term "AJAX" was coined by Jesse James Garrett of Adaptive Path. You can read
More informationCopyright 2014 Blue Net Corporation. All rights reserved
a) Abstract: REST is a framework built on the principle of today's World Wide Web. Yes it uses the principles of WWW in way it is a challenge to lay down a new architecture that is already widely deployed
More informationProgramming for Digital Media. Lecture 7 JavaScript By: A. Mousavi and P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media Lecture 7 JavaScript By: A. Mousavi and P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 Topics Ajax (Asynchronous JavaScript and XML) What it is and
More informationGRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1
AJAX & GWT Trey Roby GRITS 5/14/09 Roby - 1 1 Change The Web is Changing Things we never imagined Central to people s lives Great Opportunity GRITS 5/14/09 Roby - 2 2 A Very Brief History of Computing
More informationTooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.
Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3
More informationMultimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 07 Minor Subject
Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 07 Minor Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 06 (NF) - 1 Today s Agenda Recap AJAX
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components
Module 5 JavaScript, AJAX, and jquery Module 5 Contains 2 components Both the Individual and Group portion are due on Monday October 30 th Start early on this module One of the most time consuming modules
More informationChrome if I want to. What that should do, is have my specifications run against four different instances of Chrome, in parallel.
Hi. I'm Prateek Baheti. I'm a developer at ThoughtWorks. I'm currently the tech lead on Mingle, which is a project management tool that ThoughtWorks builds. I work in Balor, which is where India's best
More informationCreating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server
CIS408 Project 5 SS Chung Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server The catalogue of CD Collection has millions
More informationUsing Development Tools to Examine Webpages
Chapter 9 Using Development Tools to Examine Webpages Skills you will learn: For this tutorial, we will use the developer tools in Firefox. However, these are quite similar to the developer tools found
More informationAssignment: Seminole Movie Connection
Assignment: Seminole Movie Connection Assignment Objectives: Building an application using an Application Programming Interface (API) Parse JSON data from an HTTP response message Use Ajax methods and
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains an Individual and Group component
Module 5 JavaScript, AJAX, and jquery Module 5 Contains an Individual and Group component Both are due on Wednesday October 24 th Start early on this module One of the most time consuming modules in the
More informationOutline. AJAX for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries
AJAX for Libraries Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries Karen A. Coombs Head of Web Services University of Houston Libraries Outline 1. What you re
More informationRKN 2015 Application Layer Short Summary
RKN 2015 Application Layer Short Summary HTTP standard version now: 1.1 (former 1.0 HTTP /2.0 in draft form, already used HTTP Requests Headers and body counterpart: answer Safe methods (requests): GET,
More informationAJAX Programming Overview. Introduction. Overview
AJAX Programming Overview Introduction Overview In the world of Web programming, AJAX stands for Asynchronous JavaScript and XML, which is a technique for developing more efficient interactive Web applications.
More information16. Objects & JSON. Dr. Dave Parker. Informa;on and the Web, 2014/15
16. Objects & JSON Dr. Dave Parker Informa;on and the Web, 2014/15 1 The module: What's lej Exercises #8 (AJAX): online now Assessments #3: marks/feedback within approx. 1 week #4: due 4pm last day of
More informationModule7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: Objectives/Outline Objectives Outline Understand the role of Learn how to use in your web applications Rich User Experience
More informationThe COS 333 Project. Robert M. Dondero, Ph.D. Princeton University
The COS 333 Project Robert M. Dondero, Ph.D. Princeton University 1 Overview A simulation of reality In groups of 3-5 people... Build a substantial three tier software system 2 Three-Tier Systems "Three
More informationThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon
ThingLink User Guide Yon Corp Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon Index Preface.. 2 Overview... 3 Installation. 4 Functionality. 5 Troubleshooting... 6 FAQ... 7 Contact Information. 8 Appendix...
More informationTIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)
COURSE TITLE : ADVANCED WEB DESIGN COURSE CODE : 5262 COURSE CATEGORY : A PERIODS/WEEK : 4 PERIODS/SEMESTER : 52 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 HTML Document Object Model (DOM) and javascript
More informationAn Introduction to AJAX. By : I. Moamin Abughazaleh
An Introduction to AJAX By : I. Moamin Abughazaleh How HTTP works? Page 2 / 25 Classical HTTP Process Page 3 / 25 1. The visitor requests a page 2. The server send the entire HTML, CSS and Javascript code
More informationFall Semester (081) Module7: AJAX
INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module7: AJAX Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa
More informationJquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error
Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error The request returns http 200 OK, but the xhr status is 0, error. jquery Ajax Request to get JSON data fires error event to make an ajax
More informationWeb API Lab folder 07_webApi : webapi.jsp your testapijs.html testapijq.html that works functionally the same as the page testapidomjs.
Web API Lab In this lab, you will produce three deliverables in folder 07_webApi : 1. A server side Web API (named webapi.jsp) that accepts an input parameter, queries your database, and then returns a
More informationMaster Project Software Engineering: Team-based Development WS 2010/11
Master Project Software Engineering: Team-based Development WS 2010/11 Implementation, September 27 th, 2011 Glib Kupetov Glib.Kupetov@iese.fraunhofer.de Tel.: +49 (631) 6800 2128 Sebastian Weber Sebastian.Weber@iese.fraunhofer.de
More informationASP.NET AJAX adds Asynchronous JavaScript and XML. ASP.NET AJAX was up until the fall of 2006 was known by the code-known of Atlas.
Future of ASP.NET ASP.NET AJAX ASP.NET AJAX adds Asynchronous JavaScript and XML (AJAX) support to ASP.NET. ASP.NET AJAX was up until the fall of 2006 was known by the code-known of Atlas. ASP.NET AJAX
More informationCSP ODDITIES. Michele Spagnuolo Lukas Weichselbaum
ODDITIES Michele Spagnuolo Lukas Weichselbaum ABOUT US Michele Spagnuolo Lukas Weichselbaum Information Security Engineer Information Security Engineer We work in a special focus area of the Google security
More informationTerm Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :
Version: 0.1 Date: 02.05.2009 Author(s): Doddy Satyasree AJAX Person responsable: Doddy Satyasree Language: English Term Paper History Version Status Date 0.1 Draft Version created 02.05.2009 0.2 Final
More informationLecture 8: JavaScript
Lecture 8: JavaScript JavaScript introduction Examples Languages syntax and semantics Delegation vs. inheritance CS 242, Fall 2011, Lecture 8 1 What is JavaScript? JavaScript is a scripting language heavily
More informationGetting Started with
Getting Started with Meganadha Reddy K. Technical Trainer NetCom Learning www.netcomlearning.com Agenda How websites work Introduction to JavaScript JavaScript Frameworks Getting Started : Angular JS Q&A
More informationPerformance Tune your Ajax Applications. The Ajax Experience 2007 Bob Buffone
Performance Tune your Ajax Applications The Ajax Experience 2007 Bob Buffone Agenda Introduction Performance Tuning Startup Time Runtime Metrics jslex Introduction Name: Company: Position: Bob Buffone
More informationCreate-A-Page Design Documentation
Create-A-Page Design Documentation Group 9 C r e a t e - A - P a g e This document contains a description of all development tools utilized by Create-A-Page, as well as sequence diagrams, the entity-relationship
More informationibreathesports Inc. Apurva Alok Bernardo Silva
ibreathesports Inc. Apurva Alok Bernardo Silva Mission Bring the best of web and mobile technologies to sports enthusiasts worldwide. Provide an unparalleled gaming experience through a socially interactive
More informationHomework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise)
Homework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise) 1. Objectives Get familiar with the AJAX and JSON technologies Use a combination
More informationIndex. Ray Nicholus 2016 R. Nicholus, Beyond jquery, DOI /
Index A addclass() method, 2 addeventlistener, 154, 156 AJAX communication, 20 asynchronous operations, 110 expected and unexpected responses, 111 HTTP, 110 web sockets, 111 AJAX requests DELETE requests,
More informationJquery Manually Set Checkbox Checked Or Not
Jquery Manually Set Checkbox Checked Or Not Working Second Time jquery code to set checkbox element to checked not working. Apr 09 I forced a loop to show checked state after the second menu item in the
More informationWorking with Javascript Building Responsive Library apps
Working with Javascript Building Responsive Library apps Computers in Libraries April 15, 2010 Arlington, VA Jason Clark Head of Digital Access & Web Services Montana State University Libraries Overview
More informationAJAX with APEX. For More Information:
AJAX with APEX AJAX (Asynchronous JavaScript and XML) is a collection of technologies that were in use separately for a long time in the Web environment. Putting them to work together, with some new APIs,
More informationDESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER PROJECT
DESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER BY Javid M. Alimohideen Meerasa M.S., University of Illinois at Chicago, 2003 PROJECT Submitted as partial fulfillment of the requirements for the degree
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationCSC 443: Web Programming
1 CSC 443: Web Programming Haidar Harmanani Department of Computer Science and Mathematics Lebanese American University Byblos, 1401 2010 Lebanon Today 2 Course information Course Objectives A Tiny assignment
More informationCSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336
CSE 336 Introduction to Programming for Electronic Commerce Why You Need CSE336 Concepts like bits and bytes, domain names, ISPs, IPAs, RPCs, P2P protocols, infinite loops, and cloud computing are strictly
More informationWeb API Lab. The next two deliverables you shall write yourself.
Web API Lab In this lab, you shall produce four deliverables in folder 07_webAPIs. The first two deliverables should be pretty much done for you in the sample code. 1. A server side Web API (named listusersapi.jsp)
More informationRIA Security - Broken By Design. Joonas Lehtinen IT Mill - CEO
RIA Security - Broken By Design Joonas Lehtinen IT Mill - CEO a system is secure if it is designed to be secure and there are no bugs no system should be designed to be insecure not all bugs are security
More informationDiscussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type
Discussion #4 CSS VS XSLT Difference 1 CSS Multiple stylesheet types with cascading priorities XSLT One stylesheet type Difference 2 Used for HTML Used for structured document Difference 3 Only client
More informationWeb 2.0 and AJAX Security. OWASP Montgomery. August 21 st, 2007
Web 2.0 and AJAX Security OWASP Montgomery August 21 st, 2007 Overview Introduction Definition of Web 2.0 Basics of AJAX Attack Vectors for AJAX Applications AJAX and Application Security Conclusions 1
More informationCS Homework 12
Spring 2018 - CS 328 - Homework 12 p. 1 Deadline CS 328 - Homework 12 Problem 3 (presenting something operational from Problem 2) is due during lab on Friday, May 4; Problems 1 and 2 due by 11:59 pm on
More informationIntroduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University
Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML
More informationUNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? editor editor Q.2: What do you understand by a web browser?
UNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? A 1: A text editor is a program that helps you write plain text (without any formatting) and save it to a file. A good example is
More informationWe aren t getting enough orders on our Web site, storms the CEO.
In This Chapter Introducing how Ajax works Chapter 1 Ajax 101 Seeing Ajax at work in live searches, chat, shopping carts, and more We aren t getting enough orders on our Web site, storms the CEO. People
More informationAJAX: Introduction CISC 282 November 27, 2018
AJAX: Introduction CISC 282 November 27, 2018 Synchronous Communication User and server take turns waiting User requests pages while browsing Waits for server to respond Waits for the page to load in the
More informationJavaScript Programming
JavaScript Programming Course ISI-1337B - 5 Days - Instructor-led, Hands on Introduction Today, JavaScript is used in almost 90% of all websites, including the most heavilytrafficked sites like Google,
More informationSession 11. Ajax. Reading & Reference
Session 11 Ajax Reference XMLHttpRequest object Reading & Reference en.wikipedia.org/wiki/xmlhttprequest Specification developer.mozilla.org/en-us/docs/web/api/xmlhttprequest JavaScript (6th Edition) by
More informationAJAX. Lecture 26. Robb T. Koether. Fri, Mar 21, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) AJAX Fri, Mar 21, / 16
AJAX Lecture 26 Robb T. Koether Hampden-Sydney College Fri, Mar 21, 2014 Robb T. Koether (Hampden-Sydney College) AJAX Fri, Mar 21, 2014 1 / 16 1 AJAX 2 Http Requests 3 Request States 4 Handling the Response
More informationCIS 3308 Web Application Programming Syllabus
CIS 3308 Web Application Programming Syllabus (Upper Level CS Elective) Course Description This course explores techniques that are used to design and implement web applications both server side and client
More informationTHE PRAGMATIC INTRO TO REACT. Clayton Anderson thebhwgroup.com WEB AND MOBILE APP DEVELOPMENT AUSTIN, TX
THE PRAGMATIC INTRO TO REACT Clayton Anderson thebhwgroup.com WEB AND MOBILE APP DEVELOPMENT AUSTIN, TX REACT "A JavaScript library for building user interfaces" But first... HOW WE GOT HERE OR: A BRIEF
More informationJSON is a light-weight alternative to XML for data-interchange JSON = JavaScript Object Notation
JSON The Fat-Free Alternative to XML { Lecture : 27, Course : CSC375, Days : TTh", Instructor : Haidar Harmanani } Why JSON? JSON is a light-weight alternative to XML for data-interchange JSON = JavaScript
More informationSelenium Web Test Tool Training Using Ruby Language
Kavin School Presents: Selenium Web Test Tool Training Using Ruby Language Presented by: Kangeyan Passoubady (Kangs) Copy Right: 2008, All rights reserved by Kangeyan Passoubady (Kangs). Republishing requires
More informationController/server communication
Controller/server communication Mendel Rosenblum Controller's role in Model, View, Controller Controller's job to fetch model for the view May have other server communication needs as well (e.g. authentication
More informationStandard 1 The student will author web pages using the HyperText Markup Language (HTML)
I. Course Title Web Application Development II. Course Description Students develop software solutions by building web apps. Technologies may include a back-end SQL database, web programming in PHP and/or
More informationLesson 12: JavaScript and AJAX
Lesson 12: JavaScript and AJAX Objectives Define fundamental AJAX elements and procedures Diagram common interactions among JavaScript, XML and XHTML Identify key XML structures and restrictions in relation
More informationLesson 14 SOA with REST (Part I)
Lesson 14 SOA with REST (Part I) Service Oriented Architectures Security Module 3 - Resource-oriented services Unit 1 REST Ernesto Damiani Università di Milano Web Sites (1992) WS-* Web Services (2000)
More informationIntroduction to XML 3/14/12. Introduction to XML
Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML
More informationIntroduction to Ajax
Introduction to Ajax with Bob Cozzi What is AJAX? Asynchronous JavaScript and XML A J a X Asynchronous data retrieval using the XMLHttpRequest object from JavaScript Data is retrieved from the server as
More informationA synchronous J avascript A nd X ml
A synchronous J avascript A nd X ml The problem AJAX solves: How to put data from the server onto a web page, without loading a new page or reloading the existing page. Ajax is the concept of combining
More informationWe re working full time this summer alongside 3 UCOSP (project course) students (2 from Waterloo: Mark Rada & Su Zhang, 1 from UofT: Angelo Maralit)
We re working full time this summer alongside 3 UCOSP (project course) students (2 from Waterloo: Mark Rada & Su Zhang, 1 from UofT: Angelo Maralit) Our supervisors: Karen: heads project, which has been
More informationWeb Development for Dinosaurs An Introduction to Modern Web Development
Web Development for Dinosaurs An Introduction to Modern Web Development 1 / 53 Who Am I? John Cleaver Development Team Lead at Factivity, Inc. An Introduction to Modern Web Development - PUG Challenge
More informationREST. Web-based APIs
REST Web-based APIs REST Representational State Transfer Style of web software architecture that simplifies application Not a standard, but a design pattern REST Take all resources for web application
More informationSo, if you receive data from a server, in JSON format, you can use it like any other JavaScript object.
What is JSON? JSON stands for JavaScript Object Notation JSON is a lightweight data-interchange format JSON is "self-describing" and easy to understand JSON is language independent * JSON uses JavaScript
More informationCGS 3066: Spring 2015 JavaScript Reference
CGS 3066: Spring 2015 JavaScript Reference Can also be used as a study guide. Only covers topics discussed in class. 1 Introduction JavaScript is a scripting language produced by Netscape for use within
More informationCase Study: Dodging the Pitfalls of Enterprise Ajax Applications
www.thinwire.com Case Study: Dodging the Pitfalls of Enterprise Ajax Applications A Quick Introduction: Joshua Gertzen Lead Architect of the ThinWire Ajax RIA Framework Core Technology Architect for CCS
More information