Introduction to Ajax

Size: px
Start display at page:

Download "Introduction to Ajax"

Transcription

1 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 XML, HTML, or JavaScript or plain text. Dynamically updating the existing web page Using JavaScript to bring everything together AJAX is a collection of Techniques Techniques that leverage existing/available technology

2 What AJAX isn't AJAX is NOT a programming language AJAX is not an add-on or plug-in AJAX is not based on JAVA AJAX is not owned by any Vendor You can't but some AJAX Ajax History AJAX techniques were first used as early as 1998 Sometimes formerly called Dynamic HTML Although some people put iframe back to 1995 February 2005, Jesse James Garrett of Adaptive Path His now infamous article where he coined the term AJAX AJAX technology came into vogue as a result of Garrett's article Google's use of AJAX in everything they do and their huge success with it Broadband bandwidth usage has increased beyond dial-up Without Broadband, AJAX would be possible, but not practical nor pervasive Without AJAX, Google could not have been as successful You'd never see Google Maps if only dial-up speeds existed

3 Traditional Web Applications A traditional web application works like this: A web page is displayed The user enters some data Whether this means clicking here and there or physically typing in the data it's all the same The user presses Enter or clicks the SUBMIT button The server does some processing Validating the user's data Searching the database Calling legacy programs Generating an HTML page The browser is routed to a new HTML page The user continues their experience Traditional Web App Flow Web page 1 Server Req 1 Web page 2 Server Req 2 Web page 3

4 Time Between Host Server Calls and New Pages Wait Page 1 Page 2 Page 3 Server Req Server Req AJAX Eliminates Page Lag AJAX applications are more like 5250 applications A single screen or "page" is used and updated for user interaction Asynchronous calls mean users continue with what they are doing Web Page Server Request Server Request Server Request Server Request

5 AJAX Plays Nice with RPG IV AJAX uses CGI-style HTTP Requests Utilizing JavaScript's XMLHttpRequest object AJAX requests can leverage RPG routines These routines are often small because they are responding to a single or simple request Give me a list of customers that being with the letter "G" Give me the price for this item number Handling multiple/different AJAX requests in the same RPG program is common and acceptable Calling a back-end routine, or a legacy app is also okay. AJAX requests are Asynchronous Your end-users aren't kept waiting. But watch out "reverb" Why is AJAX Popular? Zero Footprint Nothing to buy or install It is completely free and available No plug-ins required No ActiveX controls No Java Applets No "waiting for plug-in to download" annoyances No "right-click to allow this plug-in to be installed" messages Provides the capabilities formerly available only through ActiveX controls Java Applets or plug-ins Server-side Scripting, such as JSPs

6 Why AJAX Now? The Browser Wars are finally over The Statuesque of PCs has changed CPUs in most PCs are fast enough Memory in most PCs is often vast enough Java has failed to deliver on its promises JavaScript (i.e., "scripting") must be enabled JavaScript is trusted by most browser users Bandwidth has become fast enough AJAX is Available Ajax-capable browsers everywhere XMLHttpRequest object is supported in all of them IE version 7 directly supports XMLHttpRequest IE version 6 support is thorugh MS-proprietary interface But that interface is 100% compatible with XMLHttpRequest Nothing to buy or install As a developer, you don't have to install anything on the PC to make your AJAX-based code work Everything resides on your host system

7 AJAX FrameWorks Commercial (for sale) and Free JavaScript libraries These libraries are being called "AJAX FrameWorks" Most are no charge to use or deploy Vendors make their money by selling add-ons IDE (development environments/plug-ins) Really good addition function Adobe's Flex Uses "Flash", but is very cool. Free with chargeable Eclipse plug-in TIBCO Okay free/with chargeable pieces DOJO Cool, lots of "widgets" free Yahoo's AJAX UI Framework (aka "YUI") Cool and free Microsoft's Atlas Not as interesting as DOJO or YUI None of these require you to buy anything to use them AJAX FrameWorks Location Adobe's Flex Library is free Optional, chargeable Eclipse plug-in Yahoo's AJAX UI Framework (aka "YUI") Compact, free, but a bit different (in beta today) TIBCO GI (General Interface) Probably will have limited appeal DOJO Cool, lots of "widgets" free Some unusual interfaces

8 Ajax Challenges for Programmers Requires some new knowledge You've got to learn JavaScript or VBScript AJAX Skill Priority Scale is 1 (least valuable) to 10 (most valuable) CGI Programming Skill(6) Need to write CGI programs that handle AJAX requests XML Skill(9) Depending on your Ajax design Need to format data for return to the Browser Could use plain text instead of XML If plain text is used, XML skill requirement drops to the 2 or 3 range JavaScript Skill(8) Until a few "build it blindfolded" tools come out, you will need to know JavaScript well. The good news is, it is a easy or as complex as you make it Ajax Challenges for Users Web Browser applications are being implemented Yahoo, Google, MS, all are moving to AJAX in a HUGE way Web Browser is normally a benign tool Click, take me here. Click, take me there. Without AJAX you have a 3, 5, 5 scenario to get the data you want Type, click, think click, think Type, click, think click, think Type, click, think Get Results With AJAX you have a 3, 1 scenario to get the information you need Type, type, type, Enter (or click) Get results

9 AJAX with RPG IV Your User loads your web page Some data is typed in You fire off a CGI request Using XMLHttpRequest Your RPG IV program is called You create some XML text You send it back to the browser via stdout Your AJAX routines receive that data Your end-user's web page is updated Generated XML Response Content-type: text/xml Cache-Control: no-cache <?xml version="1.0"?> <root> These two statements get absorbed by the browser. They are not available to the AJAX/JavaScript. The data needs to be identified as an XML document, including the version number. <USER_MSG>User ID "COZZI" accepted.</user_msg> < _MSG> address is invalid</ _msg> <PWD_MSG>Password must be 6 or more characters</pwd_msg> <PWD2_MSG>Confirming password does not match.</pwd2_msg> </root> The first node in the XML is detected; it along with the matching closing tag identify the start and end of the XML. XML data needs to be escaped. This means special characters, such as < & " ' > are converted into symbolic values.

10 Responding to AJAX Request The Content-Type Do header not Cache should the XML be // Write XML response otherwise The XML your user version may "text/xml" is /free All XML needs see a root. the necessary. same It can data But over the and cgistdout('content-type: text/xml\n'); be named anything "encoding" over you again. can cause problems. So leave it off. cgistdout('cache-control: no-cache\n\n'); want. It is often ignored by the JavaScript. cgistdout('<?xml version="1.0"?>\n'); cgistdout('<root>\n'); escapehtml(usermsg:%len(%trimr(usermsg)):usrmsg:%len(usrmsg)); cgistdout('<user_msg>%s</user_msg>\n': %TrimR(usrMsg)); cgistdout('< _msg>%s</ _msg>\n': msg); cgistdout('<pwd_msg>%s</pwd_msg>\n':pwdmsg); cgistdout('<pwd2_msg>%s</pwd2_msg>\n': pwd2msg); cgistdout('</root>\n'); /end-free The rest of the XML These response XML tags goes identify here. the This is element the real names data that you're contain sending the data your back returning to the browser. to the JavaScript in the browser. What is XMLHttpRequest? Foundation behind AJAX A JavaScript class Capable of calling the server Issues standard HTTP requests. Captures the server's response Retrieves HTTP responses from the web server. Operates Asynchronously or Synchronously When run asynchronously, tasks run in the background of the browser.

11 Simple AJAX Scenario User types in an Account number An AJAX request is triggered Verify the account number Retrieves the Account Holder's name If valid account number Account holder's name is displayed near the input If invalid account number Error message is displayed near the input HTML for Account Input <input type="text" name="acct" size="16" onblur="validate()"> <span id="acct_msg"></span> <input> tag identifies the input field into which the user types the account number onblur="validate()" calls the JavaScript function When the input field "looses focus" e.g., tab, mouse click outside the field. <span> is a special HTML tag Allows modification of HTML at runtime via JavaScript Access to <span> tags is accomplish via the ID name. This is where the new text or account info is inserted

12 Validate the Input using AJAX function Validate() { var acct = document.myform.acct.value; var url = "/cgi-bin/chkacct?acct=" + encodeme(acct); GoAjax(url,myCallback); Validate() called automatically when OnBlur is triggered The data from the ACCT input field is retrieved A url-encoded string is created The generic AJAX routine is called var req; A Generic GoAjax Function We will review this one section at a time. function GoAjax(url, callback) { if (window.xmlhttprequest) { req = new XMLHttpRequest(); if (req.overridemimetype) { req.overridemimetype('text/xml'); else if (window.activexobject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); catch (e) { if (!req) { alert('giving up :( Cannot create instance XMLHttpRequest'); return false; req.onreadystatechange = callback; req.open('post', url, true); req.send(null);

13 Entering the GoAjax Function var req; Global variable. Must be declared outside all functions. function GoAjax(url, callback) { /* Create XMLHttpRequest object */ /* Send the request async *. Parameters: 1. The URL 2. A function name Highlighted Function Variables var req; The Global variable "req" is used throughout the function. function GoAjax(url, callback) { if (window.xmlhttprequest) { req = new XMLHttpRequest(); if (req.overridemimetype) { req.overridemimetype('text/xml'); else if (window.activexobject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); catch (e) { Two parameters are only used within this Function. if (!req) { alert('giving up :( Cannot create instance XMLHttpRequest'); return false; req.onreadystatechange = callback; req.open('post', url, true); req.send(null);

14 Closer Look at Creating the XMLHttpRequest Object if (window.xmlhttprequest) { req = new XMLHttpRequest(); if (req.overridemimetype) { req.overridemimetype('text/xml'); else if (window.activexobject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); catch (e) { Sending the HTTP Request... req = new XMLHttpRequest(); req.onreadystatechange = callback; req.open('post', url, true); req.send(null);

15 Closer Look at the open() Function's Parameters Parameter 1: Method Parameter 2: URL Parameter 3: Synchronous/Asynchronous status req.open('post', url, true ); Parameter 1: 'POST' 'GET' Parameter 2: URL-encoded string Parameter 3: true = Asynchronous false = Synchronous Helper Function EncodeMe() Some browsers only support the escape() function Some browsers support new encoding schemes encodeme() checks which one is available Calls the most appropriate one

16 encodeme() Helper Function function Validate() { var acct = document.myform.acct.value; var url = "/cgi-bin/chkacct?acct=" + encodeme(acct); GoAjax(url,myCallback); function encodeme(value) { try { return encodeuricomponent(value); catch(e) { return escape(value); Waiting for the Reply There is no waiting for an asynchronous reply Control is returned back to the browser The browser user can keep on working The web server sends a response to the browser The state of the response changes The callback function is automatically evoked The readystate and status are checked in the callback function

17 GoAjax Callback Function function mycallback() { if (req.readystate == 4) { readystate 0 = uninitialized 1 = loading 2 = finished loading 3 = retrieving data 4 = completed if (req.status == 200) { parseresponse(req.responsexml); status 200 = "OK" 404 = "Not Found" 50x = "Not Authorized" XMLHttpRequest is an Object Objects need to be created or instantiated Objects contain data Objects also contain functions

18 Object Oriented Programming Objects are things that contain data Similar to Data Structures Data Members, Member Variables, Properties Similar to data structure subfields Methods or Member Functions Similar to subprocedures (If data structures could contain subprocedures) Call a method and it operates on the data members Although it may also access other data (e.g. global vars) Object Oriented Programming *MODULE objects are similar to OO objects Global variables are like data members Subprocedures are like methods *MODULE MYSTUFF D nbr S 7P 0 D name S 20A P GetName P GetNbr P SetName P SetNbr Similar OBJECT MYSTUFF int nbr char name[20] function GetName function GetNbr function SetName function SetNbr

19 XMLHttpRequest Object Data Members ("Properties") Property onreadystatechange readystate status statustext Description The name of the function that is called when the state of the XMLHttpRequest changes. The state of the XMLHttpRequest object. 0 = uninitialized 1 = loading 2 = finished loading 3 = interactive 4 = completed The HTTP status code. For example 200, 404, 500, etc. The HTTP status code in textual form. If status is 200, then statustext is "OK". If status is 404, then statustext is "Not found". responsetext responsexml The text returned from the CGI program to the Browser. The XML document (DOM-compatible) returned from the CGI program to the Browser. XMLHttpRequest Object Methods Method abort() getallresponseheaders() getresponseheader( "header" ) open("method", "URL", async, "userid", "pwd") Description Cancels the current XMLHttpRequest. Retrieves all HTTP headers and header values. Retrieves the value for the specific HTTP header. Identifies the method, URL and async flag for the HTTP request. In addition, the USER ID and Password (if signon is required) may also be specified. send( "content" null ) setrequestheader("label", "value") Sends the data (if any) by issuing the HTTP request. Sets the HTTP header to the indicated value.

20 Receiving the Response Member variable contains callback name Name of function to call when server replies XMLHttpRequest::onreadystatechange Function is called when Ready State changes XMLHttpRequest::readyState Callback should check two member variables XMLHttpRequest::readyState = 4 XMLHttpRequest::status = 200 Remember Calling GoAjax? function Validate() { var acct = document.myform.acct.value; var url = "/cgi-bin/chkacct?acct=" + encodeme(acct); GoAjax(url,myCallback); The name of a function to call when the readystate changes. The function name is literally "mycallback" It could be any name we want

21 Remember the GoAjax Function? function GoAjax(url, callback) { if (window.xmlhttprequest) { req = new XMLHttpRequest(); if (req.overridemimetype) { req.overridemimetype('text/xml'); else if (window.activexobject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); catch (e) { if (!req) { alert('giving up :( Cannot create instance XMLHttpRequest'); return false; req.onreadystatechange = callback; req.onreadystatechange = callback; req.open('post', url, true); req.send(null); The Callback Function req.onreadystatechange onreadystatchange = callback; contains the name "mycallback" function mycallback() { Remember, this is a variable containing the name of the callback function. if (req.readystate == 4) { if (req.status == 200) { parseresponse(req); Finally, we call our routine to process the data sent back via the response to the XMLHttpRequest. First we check the readystate. Has it completed? If completed, we check status. Did the server respond with an "OK" message?

22 Responder Source function mycallback() { if (req.readystate == 4) { if (req.status == 200) { parseresponse( req ); function parseresponse(xmlres) { var xmlreply = xmlres.responsexml; var msgelem = xmlreply.getelementsbytagname('user_msg')[0]; var msgelemnode = msgelem.childnodes[0]; var usrmsg = msgelemnode.nodevalue; Retrieving the Returned Data Two response properties of XMLHttpRequest XMLHttpRequest::responseText Plain text responses XMLHttpRequest::responseXML XML DOM based responses responsetext is plain text You write a routine to process it as needed responsexml is an XML DOM Use JavaScript's DOM interfaces to retrieve the data from within the XML

23 Response Handling Function function parseresponse(xmlres) { var xmlreply = xmlres.responsexml; var msgelem = xmlreply.getelementsbytagname('user_msg')[0]; var msgelemnode = msgelem.childnodes[0]; var usrmsg = msgelemnode.nodevalue; Response Handling Function <input type="text" name="userid" size="16" onblur="validate()"> <span id="user_msg"></span> function parseresponse(xmlres) { var xmlreply = xmlres.responsexml; var msgelem = xmlreply.getelementsbytagname('user_msg')[0]; var msgelemnode = msgelem.childnodes[0]; var usrmsg = msgelemnode.nodevalue; var usrdiv = document.getelementbyid("user_msg"); XML tag name SPAN identifier if (usrmsg) { usrdiv.innerhtml = "<span style=\"color:red\">"+ usrmsg +"</span>"; else usrdiv.innerhtml = "No user msg";

24 What does it look like? User Interface is controlled dynamically Keystroke/mouse action event handling No waiting for an "Enter" key to react Immediate validation/feedback of actions Single-page interface is more familiar With traditional/5250 business applications What do I think about AJAX?

Session 11. Ajax. Reading & Reference

Session 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 information

Ajax 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 information

AJAX Programming Chris Seddon

AJAX Programming Chris Seddon AJAX Programming Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 What is Ajax? "Asynchronous JavaScript and XML" Originally described in 2005 by Jesse

More information

Module7: AJAX. Click, wait, and refresh user interaction. Synchronous request/response communication model. Page-driven: Workflow is based on pages

Module7: 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 information

Fall Semester (081) Module7: AJAX

Fall 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 information

A.A. 2008/09. What is Ajax?

A.A. 2008/09. What is Ajax? Internet t Software Technologies AJAX IMCNE A.A. 2008/09 Gabriele Cecchetti What is Ajax? AJAX stands for Asynchronous JavaScript And XML. AJAX is a type of programming made popular in 2005 by Google (with

More information

AJAX: Introduction CISC 282 November 27, 2018

AJAX: 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 information

Ajax 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 information

Introduction to Ajax. Sang Shin Java Technology Architect Sun Microsystems, Inc.

Introduction to Ajax. Sang Shin Java Technology Architect Sun Microsystems, Inc. Introduction to Ajax Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda 1.What is Rich User Experience? 2.Rich Internet Application (RIA) Technologies

More information

A synchronous J avascript A nd X ml

A 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 information

2/6/2012. Rich Internet Applications. What is Ajax? Defining AJAX. Asynchronous JavaScript and XML Term coined in 2005 by Jesse James Garrett

2/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 information

An Introduction to AJAX. By : I. Moamin Abughazaleh

An 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 information

AJAX: The Basics CISC 282 March 25, 2014

AJAX: The Basics CISC 282 March 25, 2014 AJAX: The Basics CISC 282 March 25, 2014 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 browser

More information

AJAX: The Basics CISC 282 November 22, 2017

AJAX: The Basics CISC 282 November 22, 2017 AJAX: The Basics CISC 282 November 22, 2017 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 information

Session 18. jquery - Ajax. Reference. Tutorials. jquery Methods. Session 18 jquery and Ajax 10/31/ Robert Kelly,

Session 18. jquery - Ajax. Reference. Tutorials. jquery Methods. Session 18 jquery and Ajax 10/31/ Robert Kelly, Session 18 jquery - Ajax 1 Tutorials Reference http://learn.jquery.com/ajax/ http://www.w3schools.com/jquery/jquery_ajax_intro.asp jquery Methods http://www.w3schools.com/jquery/jquery_ref_ajax.asp 2 10/31/2018

More information

AJAX Basics. Welcome to AJAX Basics presentation. My name is Sang Shin. I am Java technology architect and evangelist from Sun Microsystems.

AJAX Basics. Welcome to AJAX Basics presentation. My name is Sang Shin. I am Java technology architect and evangelist from Sun Microsystems. AJAX Basics Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Welcome to AJAX Basics presentation. My name is Sang Shin. I am Java technology architect and

More information

Session 11. Calling Servlets from Ajax. Lecture Objectives. Understand servlet response formats

Session 11. Calling Servlets from Ajax. Lecture Objectives. Understand servlet response formats Session 11 Calling Servlets from Ajax 1 Lecture Objectives Understand servlet response formats Text Xml Html JSON Understand how to extract data from the XMLHttpRequest object Understand the cross domain

More information

AJAX(Asynchronous Javascript + XML) Creating client-side dynamic Web pages

AJAX(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 information

Part of this connection identifies how the response can / should be provided to the client code via the use of a callback routine.

Part 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 information

Term 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 :

Term 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 information

Programming 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 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 information

CITS1231 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 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 information

Contents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services

Contents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services Ajax Contents 1. Overview of Ajax 2. Using Ajax directly 3. jquery and Ajax 4. Consuming RESTful services Demos folder: Demos\14-Ajax 2 1. Overview of Ajax What is Ajax? Traditional Web applications Ajax

More information

Ajax. Ronald J. Glotzbach

Ajax. Ronald J. Glotzbach Ajax Ronald J. Glotzbach What is AJAX? Asynchronous JavaScript and XML Ajax is not a technology Ajax mixes well known programming techniques in an uncommon way Enables web builders to create more appealing

More information

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc.

jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. jmaki Overview Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Agenda What is and Why jmaki? jmaki widgets Using jmaki widget - List widget What makes up

More information

We aren t getting enough orders on our Web site, storms the CEO.

We 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 information

AJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN

AJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN AJAX ASYNCHRONOUS JAVASCRIPT AND XML Laura Farinetti - DAUIN Rich-client asynchronous transactions In 2005, Jesse James Garrett wrote an online article titled Ajax: A New Approach to Web Applications (www.adaptivepath.com/ideas/essays/archives/000

More information

Introduction to AJAX Bringing Interactivity & Intuitiveness Into Web Applications. By : Bhanwar Gupta SD-Team-Member Jsoft Solutions

Introduction to AJAX Bringing Interactivity & Intuitiveness Into Web Applications. By : Bhanwar Gupta SD-Team-Member Jsoft Solutions Introduction to AJAX Bringing Interactivity & Intuitiveness Into Web Applications By : Bhanwar Gupta SD-Team-Member Jsoft Solutions Applications today You have two basic choices: Desktop applications and

More information

Developing Ajax Web Apps with GWT. Session I

Developing 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 information

CS 5142 Scripting Languages

CS 5142 Scripting Languages CS 5142 Scripting Languages 10/16/2015 Web Applications Databases 1 Outline Stateful Web Applications AJAX 2 Concepts Scope in Server-Side Scripts Request $_GET, $_POST global $g; Session $_SESSION Application

More information

AJAX and PHP AJAX. Christian Wenz,

AJAX 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 information

AJAX. Introduction. AJAX: Asynchronous JavaScript and XML

AJAX. Introduction. AJAX: Asynchronous JavaScript and XML AJAX 1 2 Introduction AJAX: Asynchronous JavaScript and XML Popular in 2005 by Google Create interactive web applications Exchange small amounts of data with the server behind the scenes No need to reload

More information

Lesson 12: JavaScript and AJAX

Lesson 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 information

Portlets and Ajax: Building More Dynamic Web Apps

Portlets and Ajax: Building More Dynamic Web Apps Portlets and Ajax: Building More Dynamic Web Apps Subbu Allamaraju Senior Staff Engineer BEA Systems, Inc. TS-4003 2007 JavaOne SM Conference Session TS-4003 Goals Goals of the of Session the Session Learn

More information

Copyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum

Copyright 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 information

Credits: Some of the slides are based on material adapted from

Credits: 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

XMLHttpRequest. CS144: Web Applications

XMLHttpRequest. 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 information

Ajax or AJAX? The acronym AJAX has changed to the term Ajax, which does not represent specific technologies

Ajax or AJAX? The acronym AJAX has changed to the term Ajax, which does not represent specific technologies Introduc)on to Ajax Ajax Theory What is Ajax Ajax is a group of interrelated technologies used to create interac5ve web applica5ons or rich Internet applica5ons. With Ajax, web applica5ons can retrieve

More information

Developing Future Web Application with AJAX and ASP.NET Project "Atlas"

Developing Future Web Application with AJAX and ASP.NET Project Atlas Developing Future Web Application with AJAX and ASP.NET Project "Atlas" Smith Suksmith Microsoft MVP Solution Architect Web Application Rich UI can t delivered by Browser Technology How about Google Earth

More information

Ajax in Oracle JDeveloper

Ajax in Oracle JDeveloper Ajax in Oracle JDeveloper Bearbeitet von Deepak Vohra 1. Auflage 2008. Taschenbuch. xiv, 224 S. Paperback ISBN 978 3 540 77595 9 Format (B x L): 15,5 x 23,5 cm Gewicht: 373 g Weitere Fachgebiete > EDV,

More information

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error

Jquery.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 information

Asynchronous JavaScript + XML (Ajax)

Asynchronous 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 information

It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial.

It is highly recommended that you are familiar with HTML and JavaScript before attempting this tutorial. AJAX About the Tutorial AJAX is a web development technique for creating interactive web applications. If you know JavaScript, HTML, CSS, and XML, then you need to spend just one hour to start with AJAX.

More information

Client Side JavaScript and AJAX

Client 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 information

Session 15. RESTful Services Part 3. Lecture Objectives

Session 15. RESTful Services Part 3. Lecture Objectives Session 15 RESTful Services Part 3 1 Lecture Objectives Understand how to pass parameters from the URL to a Web service Understand how to return values from a Web service using the @Produces annotation

More information

JavaScript CoAPRequest API

JavaScript CoAPRequest API JavaScript CoAPRequest API Abstract The CoAPRequest specification defines an API that provides scripted client functionality for transferring data between a CoAP client and a CoAP server. Table of Contents

More information

Ajax. David Matuszek's presentation,

Ajax. David Matuszek's presentation, Ajax David Matuszek's presentation, http://www.cis.upenn.edu/~matuszek/cit597-2007/index.html Oct 20, 2008 The hype Ajax (sometimes capitalized as AJAX) stands for Asynchronous JavaScript And XML Ajax

More information

Ajax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of

Ajax- 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 information

AJAX Programming Overview. Introduction. Overview

AJAX 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 information

Tooling 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. 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 information

AJAX: Asynchronous Event Handling Sunnie Chung

AJAX: Asynchronous Event Handling Sunnie Chung AJAX: Asynchronous Event Handling Sunnie Chung http://adaptivepath.org/ideas/ajax-new-approach-web-applications/ http://stackoverflow.com/questions/598436/does-an-asynchronous-call-always-create-call-a-new-thread

More information

Abstract. 1. Introduction. 2. AJAX overview

Abstract. 1. Introduction. 2. AJAX overview Asynchronous JavaScript Technology and XML (AJAX) Chrisina Draganova Department of Computing, Communication Technology and Mathematics London Metropolitan University 100 Minories, London EC3 1JY c.draganova@londonmet.ac.uk

More information

INDEX SYMBOLS See also

INDEX SYMBOLS See also INDEX SYMBOLS @ characters, PHP methods, 125 $ SERVER global array variable, 187 $() function, 176 $F() function, 176-177 elements, Rico, 184, 187 elements, 102 containers,

More information

Writing Web Applications with Web Services

Writing Web Applications with Web Services Writing Web Applications with Web Services and Ajax Mike Diehl Abstract An Ajax primer with Perl and PostgreSQL. If you've done any Web development at all recently, you've no doubt heard the buzz going

More information

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4.

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4. IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4. Why are the protocols layered? 5. Define encapsulation.

More information

Getting Started. In this chapter

Getting Started. In this chapter 03_0132216353_ch02.qxd 7/26/06 10:21 AM Page 15 2 Getting Started In this chapter 2.1 XMLHttpRequest Overview page 16 2.2 Cross-Browser XMLHttpRequest page 21 2.3 Sending Asynchronous Requests page 23

More information

Attacking Web2.0. Daiki Fukumori Secure Sky Technology Inc.

Attacking Web2.0. Daiki Fukumori Secure Sky Technology Inc. Attacking Web2.0 Daiki Fukumori Secure Sky Technology Inc. Agenda Introduction What Is Web2.0 (from Attackers view) Attacking Same-Origin Policy Advanced Attacking Same-Origin

More information

4D Live Window Addendum 1.1

4D Live Window Addendum 1.1 Version 1.1 enhances the feature set to allow users to add HTML to a 4D window to present data and respond with interactive content on user clicks. Main enhancements Control of Context Menu/New Window

More information

Chapter 10 Web-based Information Systems

Chapter 10 Web-based Information Systems Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial

More information

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response

More information

Web 2.0 and AJAX Security. OWASP Montgomery. August 21 st, 2007

Web 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 information

Using Development Tools to Examine Webpages

Using 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 information

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments. Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led

More information

Controller/server communication

Controller/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 information

AJAX. 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. 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 information

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser. Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible

More information

Reading How the Web Works

Reading How the Web Works Reading 1.3 - How the Web Works By Jonathan Lane Introduction Every so often, you get offered a behind-the-scenes look at the cogs and fan belts behind the action. Today is your lucky day. In this article

More information

AJAX: Rich Internet Applications

AJAX: 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 information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

Caller ID with Asterisk and Ajax

Caller ID with Asterisk and Ajax Caller ID with Asterisk and Ajax Mike Diehl Abstract Combine Asterisk and Ajax to display incoming and outgoing call information. I've been using an Asterisk server to handle all of our telephone service

More information

Controller/server communication

Controller/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 information

AJAX. Ajax: Asynchronous JavaScript and XML *

AJAX. Ajax: Asynchronous JavaScript and XML * AJAX Ajax: Asynchronous JavaScript and XML * AJAX is a developer's dream, because you can: Read data from a web server - after the page has loaded Update a web page without reloading the page Send data

More information

Programming the World Wide Web by Robert W. Sebesta

Programming the World Wide Web by Robert W. Sebesta Programming the World Wide Web by Robert W. Sebesta Tired Of Rpg/400, Jcl And The Like? Heres A Ticket Out Programming the World Wide Web by Robert Sebesta provides students with a comprehensive introduction

More information

AJAX: From the Client-side with JavaScript, Back to the Server

AJAX: From the Client-side with JavaScript, Back to the Server 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)

More information

IBM JZOS Meets Web 2.0

IBM JZOS Meets Web 2.0 IBM JZOS Meets Web 2.0 Tuesday, August 3 rd 2010 Session 7637 Steve Goetze Kirk Wolf http://dovetail.com info@dovetail.com Copyright 2010, Dovetailed Technologies Abstract The development and deployment

More information

Module 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components

Module 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 information

Ajax UNIX MAGAZINE if0505.pdf. (86) Ajax. Ajax. Ajax (Asynchronous JavaScript + XML) Jesse James Garrett Web 1. Web.

Ajax UNIX MAGAZINE if0505.pdf. (86) Ajax. Ajax. Ajax (Asynchronous JavaScript + XML) Jesse James Garrett Web 1. Web. (86) Ajax 2003 2 Flash ` CGI Web Web Flash Java Flash Java JavaScript Google Google Suggest GMail Google Maps JavaScript Yahoo! Google Maps JavaScript `Ajax Ajax Web Ajax Ajax (Asynchronous JavaScript

More information

User Interaction: jquery

User 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 information

10.1 Overview of Ajax

10.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 information

Login Brothers Bookmarks Its Place in B2B and B2C E-Commerce

Login Brothers Bookmarks Its Place in B2B and B2C E-Commerce Login Brothers Bookmarks Its Place in B2B and B2C E-Commerce By Elizabeth Barnett lthough Login Brothers Book Company had a history of allowing Customers to order books electronically, it wasn't until

More information

Web 2.0 Käyttöliittymätekniikat

Web 2.0 Käyttöliittymätekniikat Web 2.0 Käyttöliittymätekniikat ELKOM 07 Sami Ekblad Projektipäällikkö Oy IT Mill Ltd What is Web 2.0? Social side: user generated contents: comments, opinions, images, users own the data The Long Tail:

More information

AJAX IN THE CLASSROOM

AJAX IN THE CLASSROOM AJAX IN THE CLASSROOM Thom Luce, Ohio University, luce@ohio.edu ABSTRACT The recent explosion of Web 2.0 applications has changed user s expectations regarding the web experience. Users now expect web

More information

wemx WebService V1.0

wemx WebService V1.0 wemx WebService 2 wemx WebService WEMX WEBSERVICE... 1 1. WEB SERVICE INTRODUCTION... 6 1.1. SYSTEM PAGE... 6 1.2. USER PAGE... 7 1.3. WEB SERVICE API... 8 2. SYSTEM PAGE PROVIDED BY THE WEB SERVICE...

More information

1 Explain the following in brief, with respect to usage of Ajax

1 Explain the following in brief, with respect to usage of Ajax PES Institute of Technology, Bangalore South Campus (Formerly PES School of Engineering) (Hosur Road, 1KM before Electronic City, Bangalore-560 100) INTERNAL TEST (SCHEME AND SOLUTION) 1 Subject Name:

More information

Create-A-Page Design Documentation

Create-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 information

JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How!

JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! TS-6824 JavaServer Faces Technology, AJAX, and Portlets: It s Easy if You Know How! Brendan Murray Software Architect IBM http://www.ibm.com 2007 JavaOne SM Conference Session TS-6824 Goal Why am I here?

More information

Developing Ajax Applications using EWD and Python. Tutorial: Part 2

Developing Ajax Applications using EWD and Python. Tutorial: Part 2 Developing Ajax Applications using EWD and Python Tutorial: Part 2 Chapter 1: A Logon Form Introduction This second part of our tutorial on developing Ajax applications using EWD and Python will carry

More information

Executive Summary. Performance Report for: The web should be fast. Top 4 Priority Issues

Executive Summary. Performance Report for:   The web should be fast. Top 4 Priority Issues The web should be fast. Executive Summary Performance Report for: https://www.wpspeedupoptimisation.com/ Report generated: Test Server Region: Using: Tue,, 2018, 12:04 PM -0800 London, UK Chrome (Desktop)

More information

REST AND AJAX. Introduction. Module 13

REST AND AJAX. Introduction. Module 13 Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show

More information

! The final is at 10:30 am, Sat 6/4, in this room. ! Open book, open notes. ! No electronic devices. ! No food. ! Assignment 7 due 10pm tomorrow

! The final is at 10:30 am, Sat 6/4, in this room. ! Open book, open notes. ! No electronic devices. ! No food. ! Assignment 7 due 10pm tomorrow Announcements ECS 89 6/1! The final is at 10:30 am, Sat 6/4, in this room! Open book, open notes! No electronic devices! No food! Assignment 7 due 10pm tomorrow! No late Assignment 7 s! Fill out course

More information

Chapter 1 Introduction to Computers and the Internet

Chapter 1 Introduction to Computers and the Internet CPET 499/ITC 250 Web Systems Dec. 6, 2012 Review of Courses Chapter 1 Introduction to Computers and the Internet The Internet in Industry & Research o E Commerce & Business o Mobile Computing and SmartPhone

More information

Module 6 Node.js and Socket.IO

Module 6 Node.js and Socket.IO Module 6 Node.js and Socket.IO Module 6 Contains 2 components Individual Assignment and Group Assignment Both are due on Wednesday November 15 th Read the WIKI before starting Portions of today s slides

More information

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2

Viewer 2.0. Shared Media one of the exciting improvements! 2010 Linden Lab 2 Viewer 2.0 Shared Media one of the exciting improvements! 2010 Linden Lab 2 Shared Media Brings the Web Into Second Life Web Pages Yes, Including Flash! Yes, even Flash video! Yes, on any surface! Yes,

More information

GRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1

GRITS 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 information

JavaScript Programming

JavaScript 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 information

Web Application Security

Web Application Security Web Application Security Rajendra Kachhwaha rajendra1983@gmail.com September 23, 2015 Lecture 13: 1/ 18 Outline Introduction to AJAX: 1 What is AJAX 2 Why & When use AJAX 3 What is an AJAX Web Application

More information

CSE 130 Programming Language Principles & Paradigms Lecture # 20. Chapter 13 Concurrency. + AJAX Discussion

CSE 130 Programming Language Principles & Paradigms Lecture # 20. Chapter 13 Concurrency. + AJAX Discussion Chapter 13 Concurrency + AJAX Discussion Introduction Concurrency can occur at four levels: Machine instruction level (Processor) High-level language statement level Unit level Program level (OS) Because

More information

Executive Summary. Performance Report for: https://edwardtbabinski.us/blogger/social/index. The web should be fast. How does this affect me?

Executive Summary. Performance Report for: https://edwardtbabinski.us/blogger/social/index. The web should be fast. How does this affect me? The web should be fast. Executive Summary Performance Report for: https://edwardtbabinski.us/blogger/social/index Report generated: Test Server Region: Using: Analysis options: Tue,, 2017, 4:21 AM -0400

More information

Paradox of Web Leeching

Paradox of Web Leeching Paradox of Web Leeching Aditya K Sood aka 0kn0ck SecNiche Security www.secniche.org 2007 All Rights Reserved. This document is a copyright work. SecNiche makes no representation or warranties, either express

More information

Ajax Simplified Nicholas Petreley Abstract Ajax can become complex as far as implementation, but the concept is quite simple. This is a simple tutorial on Ajax that I hope will ease the fears of those

More information