SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1064 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

The first, Ajax, is the name given to an overall technique
for seamlessly updating portions of a page. The second, Spry, is a specific implementation of Ajax, developed
and released in the public domain by Adobe on their Labs mini-site (http://labs.adobe.com/
technologies/spry).
In this section, you??™ll dive a bit deeper into both Ajax and Spry to better help you understand how the technologies
work and what their uses are.
What is Ajax?
By now, you??™ve probably heard that Ajax is short for Asynchronous JavaScript and XML??”and the key, least
understood, word is asynchronous. An asynchronous action is one that occurs out of the normal sequence.
On the Web, the typical sequence is something like this:
1. The user??™s browser loads a Web page.
2. The user clicks a link on the page.
3. Browser sends the request for linked page to the host computer.
4. The host computer sends the HTML and dependent files to the user??™s browser.
5. The browser displays the page to the user.
These series of steps occur regardless of whether an entirely new page or just a section of the page is
requested in what is referred to as a full-page refresh. One of the key benefits of Ajax is that it enables a
partial-page refresh. Ajax acts as a middleman between the browser and the host computer, requesting only
the data needed, out of the normal sequence.


Pages:
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076