Most Popular Editor Picks

Home » PHP » Ad Management

Added: 03.08.2008

66 views

Michael L

I have nothing to say

read full biography
all aticles by Michael
Print this article
Add to favorite
Tell a friend

Introducing Asynchronous JavaScript

Using JavaScript technology, an HTML page can asynchronously make calls to the server from which it was loaded and fetch content that may be formatted as XML documents, HTML content, plain text, or JavaScript Object Notation (JSON). The JavaScript technology may then use the content to update or modify the Document Object Model (DOM) of the HTML page. The term Asynchronous JavaScript Technology and XML (Ajax) has emerged recently to describe this interaction model.

Ajax is not new. These techniques have been available to developers targeting Internet Explorer on the Windows platform for many years. Until recently, the technology was known as web remoting or remote scripting. Web developers have also used a combination of plug-ins, Java applets, and hidden frames to emulate this interaction model for some time. What has changed recently is the inclusion of support for the XMLHttpRequest object in the JavaScript runtimes of the mainstream browsers. The real magic is the result of the JavaScript technology's XMLHttpRequest object. Although this object is not specified in the formal JavaScript technology specification, all of today's mainstream browsers support it. The subtle differences with the JavaScript technology and CSS support among current generation browsers such as Mozilla Firefox, Internet Explorer, and Safari are manageable. JavaScript libraries such as Dojo, Prototype, and the Yahoo User Interface Library have emerged to fill in where the browsers are not as manageable and to provide a standardized programming model. Dojo, for example, is addressing accessibility, internationalization, and advanced graphics across browsers -- all of which had been thorns in the side of earlier adopters of Ajax. More updates are sure to occur as the need arises.

Related Articles

Using PHP to Change the Permissions
Sometimes it's useful to enable visitors to your site to upl
Grails for Ajax
When Ajax was introduced to the early and experienced develo
PHP Password Function
When developing a web application that enables users to regi
Introducing Asynchronous JavaScript
Using JavaScript technology, an HTML page can asynchronously
Developer Center | Contact Us | About Us | Link to Us | Advertising Info | Terms of Use | Privacy Policy
Copyright © 2007 - 2008 Script River Network ®. All rights reserved.