Download presentation
Presentation is loading. Please wait.
Published byBertha Cummings Modified over 9 years ago
4
the acronym for Asynchronous JavaScript and XML
5
a DOM* that is accessed with JavaScript to dynamically display, and to allow the user to interact with the information presented * DOM – document object model
6
DOM (document object model) is a strategic and open effort to specify how to provide programming control over documents.
7
Source: w3schools.com/ajax
8
Classic (static) web pages, (which do not use AJAX) must reload the entire page if the content should change. Examples of applications using AJAX: Google Maps, Gmail, Youtube, and Facebook tabs.
9
Render Logo Render Section 1 Download File (Part 1) Download File (Part 2) Render Section 2 from file. Render Section 3 Blocking could occur here delaying the rendering of Section 3
10
Render Logo Render Section 1 Download File (Part 1) Download File (Part 2) Render Section 2 from file Render Section 3
11
Allows us to download information from a server on an as needed basis. Instantiate an XMLHTTPRequest object
13
Danger, Will Robinson, Danger!
15
if(browser == "Microsoft Internet Explorer"){ objAjax = new ActiveXObject("Microsoft.XMLHTTP");
16
if(browser == "Microsoft Internet Explorer"){ objAjax = new ActiveXObject("Microsoft.XMLHTTP");
17
if(browser == "Microsoft Internet Explorer"){ objAjax = new ActiveXObject("Microsoft.XMLHTTP");
18
getElementById must match the area of the browser that you are targeting.
19
StateDescription 0not initialized 1set up 2sent 3in progress 4complete A request will go through a series of states on the way to completing the request
20
A small section of a page can be updated. Saves on bandwidth and loading times, and reduces server load. The code is lightweight and not very complex. JavaScript and the XMLHttpRequest object are supported in all modern browsers
21
It's got the geeky cool factor ;-)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.