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 :

Size: px
Start display at page:

Download "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 :"

Transcription

1 Version: 0.1 Date: Author(s): Doddy Satyasree AJAX Person responsable: Doddy Satyasree Language: English Term Paper History Version Status Date 0.1 Draft Version created Final Version M a s t e r i n B u s i n e s s C o n s u l t i n g 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 S u m m e r S e m e s t e r P r e s e n t e d T o : P r o f. D r. E d u a r d H e i n d l P r e s e n t e d B y : D o d d y S a t y a s r e e ( M a t r n o ) S u b : E - B u s i n e s s T e c h n o l o g i e s E-Business Technologies Page 1

2 CERTIFICATE OF DECLARATION It is to be declared that all the work done in this document is solely and explicitly done by the authors of this document. The list of literatures, from where the text has been adapted, is mentioned in the document with references. Satyasree Doddy June 23, 2009 E-Business Technologies Page 2

3 Table of Content 1. Introduction of Ajax Ajax Definition How Ajax Works? Why Should I Use Ajax? What Ajax Is Not? Why Web Ajax Basics Understanding Server Requests Ajax Request/Response Process Ajax Properties and Methods Examining Ajax Application Technologies behind Ajax Foundations: Scripting XML and JSON Who is Using Ajax? Google Suggest A Yahoo! News Conclusion Bibliography E-Business Technologies Page 3

4 1. Introduction of Ajax Jesse James Garrett coined the term Ajax in February 2005 in his essay, Ajax: A New Approach to Web Applications ( Although he used Ajax, others began using the acronym AJAX (which stands for Asynchronous JavaScript and XML) for the purpose of retrieving information from the server without unloading the page. (Holdener III, Ajax the Definitive Guide, O Reilly, p.8) These requests may be executed in any number of ways and using any number of different data transmission formats. Big companies such as Google, Yahoo!, and Microsoft have devoted resources specifically towards the goal of creating web applications that look and behave like desktop applications. (Zakas, McPeak, & Fawcett, Professional Ajax, 2 nd Edition, p. 1-3) Since the introduction of the Ajax, the tools of the classic Web were few and simple: HyperText Markup Language (HTML) HyperText Transfer Protocol (HTTP) Eventually, other things went into the building of a web page, such as CGI scripting and possibly even a database. HTML provided everything in a web page in the classic environment. If the client and the server were to communicate, they did so using very basic HTTP GET and, sometimes, POST calls. Many more parts go into web sites and web applications today. Ajax is like the materials that go into making a high-rise building. (Holdener III, Ajax the Definitive Guide, O Reilly, p.4-6) 1.1. Ajax Definition Ajax sometimes capitalized as AJAX stands for: A is for asynchronous - request can be made asynchronously or synchronously - both techniques allow web page to be updated without refreshing it - anything useful the user can do while processing request? - if yes then use asynchronous, otherwise use synchronous J is for JavaScript - typically JavaScript is used on the client-side (in the browser) - only programming language supported out-of-the-box by most web browsers can use any language on server-side that can accept HTTP Requests and return HTTP responses - Java servlets, Ruby servlets, CGI scripts X is for XML -request and response messages can contain XML - can easily invoke REST-style services. - can really contain any text (single text value..) typically JavaScript is used on the client-side in the browser. (Teague, CSS, DHTML, & AJAX Visual Quick Start Guide, Fourth Edition p ) E-Business Technologies Page 4

5 DHTML + XMLHttpRequest + Server Files = Ajax Filters data for Transfer data between the Provides data that is display on the server and the page. either static or generated. dynamically page. Figure 1.1 The components of Ajax 1.2. How Ajax Works? Ajax is more than an approach to web interaction. This approach involves transmitting only a small amount of information to and from the server in order to give the user the most responsive experience possible. Instead of the traditional web application model where the browser itself is responsible for initiating requests to, and processing requests from, the web server, the Ajax model provides an intermediate layer called Ajax engine-to handle this communication. Ajax engine is really just a JavaScript object or function that is called whenever information needs to be requested from the server. Instead of the traditional model of providing a link to another resource (such as another web page), each link makes a call to the Ajax engine, which schedules and executes the request. The request is done asynchronously, meaning the code execution doesn t wait for a response before continuing. The server-which traditionally would serve up HTML, images, CSS, or JavaScript-is configured to return data that the Ajax engine can use. This data can be plain text, XML, or any other data format that may need. The only requirement is that the Ajax engine can understands and interpret the data. When the Ajax engine receives the server response, it goes into action, often passing the data and making several changes to the user interface based on the information it was provided. Because this process involves transferring less information than the traditional web application model, user interface updates are faster, and the user is able to do his or her work more quickly. Figure 1.2. The difference between traditional and Ajax Web Application Model E-Business Technologies Page 5

6 When user do something with an HTML form in the browser, JavaScript on the HTML page sends an HTTP request to the server and the server responds with a small amount of data, rather than a complete web page and the JavaScript uses this data to modify the page. This is faster because less data is transmitted and because the browser has less work t do. The Figure 1.2 above illustrates the difference between the traditional and Ajax web application models. (Zakas, McPeak, & Fawcett, Professional Ajax, 2 nd Edition, p. 4-7) In the Figure 1.3 below illustrates the Ajax changes the classic Web experience by allowing the browser to go back to the server incrementally to make changes to the content, turning the Web page into a filter that processes data coming from the server. Once data is sent to the server, the data is sent and received in the background while the visitor continues to work (Figure 1.4). That s the asynchronous part of Ajax. (Teague, CSS, DHTML, & AJAX Visual Quick Start Guide, Fourth Edition p ) Figure 1.3 The Ajax model for delivering Web applications. - Figure 1.4 Visitors can continue to work as data transferred between the page and the server. E-Business Technologies Page 6

7 1.3. Why Should I Use Ajax? 1. Increased client Interaction Gives users more of the expected behavior of a client/server application rather than a classic web page Performance only a portion of the page is refreshed Less bandwidth usage 2. Platform Independent (sort of) uses the browser, but relies on JavaScript 3. Content and functionality sharing By sharing code, the Web itself will become an open platform and Web sites less insular. Functionality and content created for on Web site can be easily shared around the Web. 4. Heightened interactivity Because of the real and perceived speed increases as mentioned above, Web visitors are more likely to interact with the pages to make small data changes that can be just as quickly undone. (Teague, CSS, DHTML, & AJAX Visual Quick Start Guide, Fourth Edition p. 426) 1.4. What Ajax Is Not? Ajax is not the be-all and end-all solution to every new application being built for the Web. It is not even something that should be considered as an upgrade to every existing product. Ajax is a great model for building more modern, faster Web 2.0 applications, but only when they are built correctly. Throwing Ajax at every application can create complications, such as accessibility issues, cross-browser compliance nightmares, and requiring more intricate and complex programming to perform simple tasks Why Web 2.0 Shortly after the term Ajax was coined, another term began popping up Web 2.0 and it was originally the name of a conference held by O Reilly Media and CMP Media in late 2005 and began popping up all over the Internet in descriptions of how the Web had changed. The following reasons are as follows: 1. The Web as services, not software 2. Separation of data and presentation- data can be represented in any number of ways and combined with any other data sources (called mashups) 3. The end of software versioning rather than having discreet software versions, applications are constantly being updated and improved. (Teague, CSS, DHTML, & AJAX Visual Quick Start Guide, Fourth Edition p ) 4. Richer, more responsive user experience Ajax is sties to the last point, creating a richer experience for the user. Web 2.0 is about a shift in the very character of the Web. While Ajax is an important part of creating the next generation user experience that Web 2.0 signifies, it is just a one piece of a much larger puzzle. (Zakas, McPeak, & Fawcett, Professional Ajax, 2 nd Edition, p ) E-Business Technologies Page 7

8 Figure 1.5. The home page for The Web 2.0 Show podcast is a good example of the Web 2.0 look. ( 2. Ajax Basics It involves three main parts: making the server call, having the server process the call, and then filtering the data that comes back Understanding Server Requests Ajax functionality relies on the relatively straightforward ability to request data from the server. Every time while loading a Web page, makes a server request, so that s nothing new. The general Ajax function works something like this which is illustrated in the figure: Figure 1.6. The general Ajax process flow, showing the dynamic type-ahead functionality 1. Action: An event happens in the browser window. For example, the user begins to type something into a form field. 2. Event: The event handler for the object that initiated the action (for example, the form field) will trigger a function used to request data from the server and generally call that function fetchdata (). 3. Fetch Data: This is the server request, where a JavaScript object is created (pagerequest) that will be used to send and receive data from the server. Initialize this object as either E-Business Technologies Page 8

9 ActiveXObject ( Microsoft.XMLHTTP ) for Internet Explorer or XMLHttpRequest () for all other browsers. 4. Server Process: The page on the server processes the request and also called this page as datapage. With the relevant extension (for example, datapage.php). When using the GET method to make the request, then the contents of the data page are simply returned to the fetchdata () function. When using the POST, then data can be sent to that page and used to return specific content. For example, one might pass a numeric value that is then used to send back a specific word based on that value. 5. Filter Data: Once that t data is passed back to the page, it can be passed on to a function used to interpret it and display it in the Web page and also call it as function filterdata (). 6. Reaction: Finally, the data is used by or placed onto the page, generally by using the innerhtml method to place it into a specific object. (Teague, Visual Quick Start Guide CSS, DHTML & Ajax, 4 th Edition, p ) 2.2. Ajax Request/Response Process In a traditional request, a user initiates a request for data, waits for the server to send back a response, and then waits for the browser to render the page. In an Ajax-enabled environment, the amount of data that needs to be sent back and forth can be greatly reduced. Figure 1-7 illustrates the difference between Ajax request and response process. Ajax can ultimately mean a more responsive interface, talking less time to complete the same tasks. Figure 1.7 Ajax Request and Response Processes Ajax updates to the client can be made with or without user interaction (in comparison with the traditional non-ajax interaction). If the request is user-initiated, it s important to show users that something is happening. This is most often done with an animated graphic indicator (see Figure 1.8) placed on or near where the interaction was initiated. The user then knows to wait or move onto some other part of the page to wait for the interaction to complete. (Snook, Aaron Gustafson, Langride, and Webb, Accelerated DOM Scripting with Ajax, APIs, and Libraries, p ) E-Business Technologies Page 9

10 Full list of Ajax Controls Figure 1.8 A variety of the indicators available at Ajax Properties and Methods Although the format outline above takes care of the basic needs for fetching data off the server for use on a Web page, there are several JavaScript properties and methods that are commonly used to control Ajax functionality shown in Table 1.1 and 1.2. (Teague, CSS, DHTML, & AJAX Visual Quick Start Guide, Fourth Edition p ) Ajax Properties Property Onreadystatechange readystate responsetext responsexml Status Status Table 1.2 Ajax Methods Ajax Methods Method abort() getallresponseheaders() getresponseheader(<label>) open(<method>, <URL>, <asynchflag>) send(<content>) Description Even handler triggered when the state of the request object changes Status code for the current state of the server request object. String value of the data from the server DOM-compatible XML document object of the data from the server Status code of the HTTP response from the server String value of the HTTP status message Description Cancels the current HTTP request String value of all HTTP headers Value of specified HTTP header Initializes the XML HTTP request Sends the request to the server and receives the response E-Business Technologies Page 10

11 2.4. Examining Ajax Application Google Docs & Spreadsheets along with most of the Google online applications, for that matter- demonstrates the power of Ajax very well (see Figure 1.9). Changes to the document get constantly sent back to the server to be saved. This type of interaction is just like using a desktop application such as Microsoft Word. And although many of the applications that make use of the technique attempt to be like desktop applications, it can be used for even small tasks that can make a site seem extremely responsive and fun to use. Figure 1.9 Google Docs & Spreadsheets 3. Technologies behind Ajax The structure of an Ajax application is built on an underlying structure of XHTML, which was merely an extension of HTML, and so forth. The tools used to build Ajax web applications as follows: HTML/Extensible HyperText Markup Language (XHTML): Primary content representation languages. Document Object Model (DOM): Dynamic updating of a loaded page. JavaScript: Scripting language used to program an Ajax engine Cascading Style Sheets (CSS): Provides stylistic formatting to XHTML. Extensible Markup Language (XML): Data exchange format. Extensible Stylesheet Language Transformation (XSLT): Transforms XML into XHTML (styled by CSS) XMLHttp: Primary communication broker In reality, all these technologies are available to be used in Ajax solutions, but only three are required: HTML/XHTML/DOM and JavaScript. XHTML is the structure of any Ajax application and is obviously necessary for the displaying of information on client browser, while the DOM is necessary to change portions of an XHTML page without reloading it. JavaScript has the most important role in an Ajax application. It is more important to initiate the client server communication and manipulate the DOM to update the web page. CSS is used to affect the look of the page, and is manipulated dynamically through the DOM. Finally, XML is the protocol that is used to transfer data back and forth between clients and servers. The other technologies which E-Business Technologies Page 11

12 are listed are helpful in fine-tuning an Ajax solution. All of the previously listed technologies related directly to the client-side Ajax engine, but there is no Ajax without a stable, responsive server waiting to send content to the engine. For this purpose one can use any application server of choice. For instance like server-side components as PHP pages, Java servlets, or.net components, but only need to ensure that the correct data format is being sent back to the Ajax engine. (Zakas, McPeak, & Fawcett, Professional Ajax, 2 nd Edition, p.6-7) 4. Foundations: Scripting XML and JSON The connection between the client and the server is using JavaScript, and usually build the data format used to exchange information in XML because a new format used to exchange information in XML because a new format is on the rise and is fast becoming the new choice for web developers. This new format is JavaScript Object Notation (JSON). First, driving the Ajax component of an Ajax web application is the XMLHttpRequest object. This object allows for asynchronous communication between the client and the server. In other words, the client can start communicating with the server, and instead of the client freezing up and becoming unusable until that communication is complete, the client can continue to function like normal. Example 1. Creating the XMLHttpRequest object (continued) } catch (e) { Request = false; /* else if (window.activexobject) { /*Try to create a new ActiveX XMLHttp object */ Try { Request = new ActiveXObject ( Msxml2.XMLHTTP ); } catch (e) { Request = false: }}} Return request: } Var request = createxmlhttprequest (); XML Requests and Responses: Now XMLHttpRequest () will control all of the requests that will be communicated to the server, as well as all of the responses sent back to the client. Two methods and one property are typically used when building a request for the server: open (), send (), and onreadystatechange. For example: If (request) { Request.open ( GET, URL, true); Request.onreadystatechange = parsresponse; Request.Send ( ) ;} E-Business Technologies Page 12

13 JSON: A data exchange format that is a subset of the object literal notation in JavaScript. It has been gaining a lot of attention latterly as a lightweight alternative to XML, especially in Ajax applications because of the ability in JavaScript, however, and can use it as a simple exchange format for any scripting language. (Holdener III, Ajax The Definitive Guide, p.68-87) JSON Requests and Responses Requests to the server using Ajax and JSON are the same as with XML. Function RequestData (request, url, data, func, method) { If (request) { If (method == GET ) Request.open ( Get, url +? + data, true): else request.open ( POST, url, true): request.oneadystatechange = func: if (method ++ GET ) equest.send ( ): else request.send (data): }} 5. Who is Using Ajax? A number of commercial web sites use Ajax techniques to improve their user experience. The following are some of the more well-known and well-executed web applications that use Ajax Google Suggest One of the first examples that developers cite when talking about Ajax is Google Suggest ( The interface is simply a clone of the main Google interface which prominently features a text box to enter search terms. Everything appears to be the same until start typing in the textbox. Once type, Google Suggest requests suggestions from the server, showing a drop-down list of search terms that may be interested in shown in Figure 2.0 E-Business Technologies Page 13

14 5.2. A9 Amazon.com is world famous for being an online marketplace for just about anything, but when it released a search engine, it did so with little fanfare and attention. The introduction of A9 ( showed off enhanced searching, enabling to search different types of information simultaneously. For web and image searches it uses MSN to fetch results. It performs searches of books on Amazon.com and movies on IMDb (Internet Movie Database). Searches for Yellow Pages, Wikipedia, and Answers.com. What makes A9 unique is how its user interface works. The photo information and summary are retrieved from the server using XMLHttp and inserted into the page dynamically. This is a perfect example of how Ajax can be used to enhance a web page Yahoo! News Also introduced in 2005 was a new design for the Yahoo! News site ( The new design features an interesting enhancement: While moving mouse over a particular headline, a small box pops up with a summary and, optionally, a photo associated with that story, shown in the figure below. The photo information and summary are retrieved from the server using XMLHttp and inserted into the page dynamically. This is a perfect example of how Ajax can be used to enhance a web page. (Zakas & McPeak, Professional Ajax, 2 nd Edition, p.6-13) E-Business Technologies Page 14

15 6. Conclusion The term Ajax was coined by Jesse James Garrett in an article posted on the Adaptive Path, LLC website. The article introduced Ajax as a new user interaction model for web applications in which full page loads are no longer necessary. Ajax uses technologies such as JavaScript, XML, CSS, and XHTML, along with the XMLHttpRequest object, to build browser-based web applications that function like desktop programs. The introduction of iframes and XMLHttp really pushed Ajax development forward. Ajax can be used to accomplish many things. It is best used to enhance the user experience rather than providing cool effect. Several of the most popular Ajax applications were also discussed, including Google Suggest, Gmail, Google Maps, and Yahoo! News. Don t have to refresh the browser page in order to display new data from the server and get data asynchronously with XMLHttprequest. Same benefits as other web applications such as universal reach via internet, centralized administration, installation and upgrade, and browser already installed on client. ; E-Business Technologies Page 15

16 Bibliography Crane, D., Pascarello, E., & James, D. (2005), Ajax in Action, Manning. Holdener III, A. T. (2008). Ajax: The Definitive Guide. (S. S. Laurent, Ed.) O'Reilly. Moroney, L. (2006). Foundations of Atlas: rapid Ajax development with ASP.NET 2.0. Apress. Snook, J., Gustafson, A., Langridge, S., & Webb, D. (2007). Accelerated DOM Scripting with Ajax, APIs, and Libraries. Apress. Teague, J. C., McPeak, J., Fawcett, Joe. (2006). CSS, DHTML, & Ajax. (4th, Ed.) Peachpit Press. Zakas, N. C. Professional Ajax 2nd Edition. Wiley Publishing, Inc. Webmails: Web Applications ( The home page for The Web 2.0 Show ( A variety of the indicators available at Google Suggest ( A9 ( Yahoo! News ( Ajax Form POST/GET E-Business Technologies Page 16

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

COPYRIGHTED MATERIAL. What Is Ajax?

COPYRIGHTED MATERIAL. What Is Ajax? What Is Ajax? From 2001 to 2005, the World Wide Web went through a tremendous growth spurt in terms of the technologies and methodologies being used to bring this once-static medium to life. Online brochures

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

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

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

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

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

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

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

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

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

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

Web 2.0, AJAX and RIAs

Web 2.0, AJAX and RIAs Web 2.0, AJAX and RIAs Asynchronous JavaScript and XML Rich Internet Applications Markus Angermeier November, 2005 - some of the themes of Web 2.0, with example-sites and services Web 2.0 Common usage

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

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

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

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

Ajax Enabled Web Application Model with Comet Programming

Ajax Enabled Web Application Model with Comet Programming International Journal of Engineering and Technology Volume 2. 7, July, 2012 Ajax Enabled Web Application Model with Comet Programming Rajendra Kachhwaha 1, Priyadarshi Patni 2 1 Department of I.T., Faculty

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

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

Group 1. SAJAX: The Road to Secure and Efficient Applications. - Final Project Report -

Group 1. SAJAX: The Road to Secure and Efficient Applications. - Final Project Report - Group 1 SAJAX: The Road to Secure and Efficient Applications - Final Project Report - Thu Do, Matt Henry, Peter Knolle, Ahmad Yasin George Mason University, 2006/07/15 SAJAX: The Road to Secure and Efficient

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

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

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

1 Introduction. 2 Web Architecture

1 Introduction. 2 Web Architecture 1 Introduction This document serves two purposes. The first section provides a high level overview of how the different pieces of technology in web applications relate to each other, and how they relate

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

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

Introduction to Ajax

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

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

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

What is Ajax? History of web interaction (2/2) Google Maps (1/2) History of Ajax (I) A cleaning powder. A Dutch football team.

What is Ajax? History of web interaction (2/2) Google Maps (1/2) History of Ajax (I) A cleaning powder. A Dutch football team. What is Ajax? A cleaning powder A Dutch football team A Greek hero A different approach to web interaction None of the previous All of the previous History of web interaction (1/2) JavaScript gets released

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

Making Ajax Easy With Model-Glue. Joe Rinehart Firemoss, LLC

Making Ajax Easy With Model-Glue. Joe Rinehart Firemoss, LLC Making Ajax Easy With Model-Glue Joe Rinehart Firemoss, LLC 1 About the Speaker President of Firemoss, LLC, a ColdFusion and Flex consulting company Creator of the Model-Glue framework Author for ColdFusion

More information

Outline. AJAX for Libraries. Jason A. Clark Head of Digital Access and Web Services Montana State University Libraries

Outline. 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 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

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

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

Web Programming Paper Solution (Chapter wise)

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

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

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

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

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id

XML Processing & Web Services. Husni Husni.trunojoyo.ac.id XML Processing & Web Services Husni Husni.trunojoyo.ac.id Based on Randy Connolly and Ricardo Hoar Fundamentals of Web Development, Pearson Education, 2015 Objectives 1 XML Overview 2 XML Processing 3

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

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

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

Discovering Computers Chapter 13 Programming Languages and Program Development

Discovering Computers Chapter 13 Programming Languages and Program Development Discovering Computers 2009 Chapter 13 Programming Languages and Program Development Chapter 13 Objectives Differentiate between machine and assembly languages Identify and discuss the purpose of procedural

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

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

shortcut Tap into learning NOW! Visit  for a complete list of Short Cuts. Your Short Cut to Knowledge shortcut Your Short Cut to Knowledge The following is an excerpt from a Short Cut published by one of the Pearson Education imprints. Short Cuts are short, concise, PDF documents designed specifically

More information

The name of this chapter should be Getting Everything You Can from

The name of this chapter should be Getting Everything You Can from Chapter 1: Exploring Visual Studio Extensions In This Chapter Getting the most out of Visual Studio Building the next generation of Web sites with AJAX Looking ahead to the future of Visual Studio The

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

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

The name of this chapter should be Getting Everything You Can from

The name of this chapter should be Getting Everything You Can from Chapter 1: Exploring Visual Studio Extensions In This Chapter Getting the most out of Visual Studio Building the next generation of Web sites with AJAX Looking ahead to the future of Visual Studio The

More information

Module 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains an Individual and Group component

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

Welcome to the Ajax Bible! This is the home of all things Ajax.

Welcome to the Ajax Bible! This is the home of all things Ajax. Essential Ajax Welcome to the Ajax Bible! This is the home of all things Ajax. Ajax is the new technology that s blazing through the Internet, igniting Web sites everywhere. The Ajax revolution has come,

More information

dotnettips.com 2009 David McCarter 1

dotnettips.com 2009 David McCarter 1 David McCarter About David McCarter Microsoft MVP David McCarter s.net Coding Standards http://codingstandards.notlong.com/ dotnettips.com 700+ Tips, Tricks, Articles, Links! Open Source Projects: http://codeplex.com/dotnettips

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

,

, 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 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

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

Assignment: Seminole Movie Connection

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

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

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

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology Java Applets, etc. Instructor: Dmitri A. Gusev Fall 2007 CS 502: Computers and Communications Technology Lecture 25, December 5, 2007 CGI (Common Gateway Interface) CGI is a standard for handling forms'

More information

Introduction to Ajax

Introduction to Ajax giulio.piancastelli@unibo.it Ingegneria Due Alma Mater Studiorum Università di Bologna a Cesena Academic Year 2006/2007 What is Ajax? A cleaning powder A Dutch football team A Greek hero A different approach

More information

Web Engineering (CC 552)

Web Engineering (CC 552) Web Engineering (CC 552) Introduction Dr. Mohamed Magdy mohamedmagdy@gmail.com Room 405 (CCIT) Course Goals n A general understanding of the fundamentals of the Internet programming n Knowledge and experience

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

AJAX in Apache MyFaces A New Approach To Web Applications

AJAX in Apache MyFaces A New Approach To Web Applications AJAX in Apache MyFaces A New Approach To Web Applications Gerald Müllan Matthias Weßendorf 1 Gerald Müllan Apache MyFaces contributor Web-Engineer with focus on JavaServer Faces Integration of AJAX into

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

Etanova Enterprise Solutions

Etanova Enterprise Solutions Etanova Enterprise Solutions Front End Development» 2018-09-23 http://www.etanova.com/technologies/front-end-development Contents HTML 5... 6 Rich Internet Applications... 6 Web Browser Hardware Acceleration...

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

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing Cleveland State University Department of Electrical and Computer Engineering CIS 408: Internet Computing Catalog Description: CIS 408 Internet Computing (-0-) Pre-requisite: CIS 265 World-Wide Web is now

More information

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Helper Applications & Plug-Ins

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Helper Applications & Plug-Ins Web Development & Design Foundations with HTML5 Ninth Edition Chapter 11 Web Multimedia and Interactivity Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

More information

The Business Value of Open Standards. Michael(tm) Smith

The Business Value of Open Standards. Michael(tm) Smith The Business Value of Open Standards Michael(tm) Smith mike@w3.org Key W3C standards for the Web HTTP HTML and XHTML CSS The W3C DOM HTTP Development of HTTP (Hypertext Transfer Protocol) was coordinated

More information

CS50 Quiz Review. November 13, 2017

CS50 Quiz Review. November 13, 2017 CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down

More information

Read & Download (PDF Kindle) PHP Ajax Cookbook

Read & Download (PDF Kindle) PHP Ajax Cookbook Read & Download (PDF Kindle) PHP Ajax Cookbook This book contains a collection of recipes with step-by-step directions to build SEO-friendly websites using standard Ajax tools. Each recipe contains behind-the-scene

More information

Copyright 2014 Blue Net Corporation. All rights reserved

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

extc Web Developer Rapid Web Application Development and Ajax Framework Using Ajax

extc Web Developer Rapid Web Application Development and Ajax Framework Using Ajax extc Web Developer Rapid Web Application Development and Ajax Framework Version 3.0.546 Using Ajax Background extc Web Developer (EWD) is a rapid application development environment for building and maintaining

More information

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by Languages in WEB E-Business Technologies Summer Semester 2009 Submitted to Prof. Dr. Eduard Heindl Prepared by Jenisha Kshatriya (Mat no. 232521) Fakultät Wirtschaftsinformatik Hochshule Furtwangen University

More information

Embracing HTML5 CSS </> JS javascript AJAX. A Piece of the Document Viewing Puzzle

Embracing HTML5 CSS </> JS javascript AJAX. A Piece of the Document Viewing Puzzle Embracing HTML5 AJAX CSS JS javascript A Piece of the Document Viewing Puzzle Embracing HTML5: A Piece of the Document Viewing Puzzle For businesses and organizations across the globe, being able to

More information

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2.

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2. 02671c01.qxd:02671c01 4/20/07 11:24 AM Page 1 Part I: Getting Started Chapter 1: Introducing Flex 2.0 Chapter 2: Introducing Flex Builder 2.0 Chapter 3: Flex 2.0 Basics Chapter 4: Using Flex Builder 2.0

More information

EVENT-DRIVEN PROGRAMMING

EVENT-DRIVEN PROGRAMMING LESSON 13 EVENT-DRIVEN PROGRAMMING This lesson shows how to package JavaScript code into self-defined functions. The code in a function is not executed until the function is called upon by name. This is

More information

AJAX and JSON. Day 8

AJAX and JSON. Day 8 AJAX and JSON Day 8 Overview HTTP as a data exchange protocol Components of AJAX JSON and XML XMLHttpRequest Object Updating the HTML document References Duckett, chapter 8 http://www.w3schools.com/ajax/default.asp

More information

Web Application with AJAX. Kateb, Faris; Ahmed, Mohammed; Alzahrani, Omar. University of Colorado, Colorado Springs

Web Application with AJAX. Kateb, Faris; Ahmed, Mohammed; Alzahrani, Omar. University of Colorado, Colorado Springs Web Application with AJAX Kateb, Faris; Ahmed, Mohammed; Alzahrani, Omar University of Colorado, Colorado Springs CS 526 Advanced Internet and Web Systems Abstract Asynchronous JavaScript and XML or Ajax

More information

Web Programming Step by Step

Web Programming Step by Step Web Programming Step by Step Lecture 19 Ajax Reading: 10.1-10.2 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Synchronous web communication

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

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

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION page 1 / 5 page 2 / 5 html css javascript web pdf We have curated a list of free development

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

The Web has changed. What began as a text-based system for scientists

The Web has changed. What began as a text-based system for scientists CHAPTER Understanding Rich Internet Applications The Web has changed. What began as a text-based system for scientists and academics to share information has grown into a vital part of life for many people.

More information

JavaScript CS 4640 Programming Languages for Web Applications

JavaScript CS 4640 Programming Languages for Web Applications JavaScript CS 4640 Programming Languages for Web Applications 1 How HTML, CSS, and JS Fit Together {css} javascript() Content layer The HTML gives the page structure and adds semantics Presentation

More information

Working with Javascript Building Responsive Library apps

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

welcome to BOILERCAMP HOW TO WEB DEV

welcome to BOILERCAMP HOW TO WEB DEV welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js

More information