XMLHttpRequest ~ Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples
Ajax Training, Learn Ajax Video Tutorials Online, Ajax Examples: XMLHttpRequest

XMLHttpRequest

What is XHR Stands for?

The XHR (XMLHttpRequest) object is the core of the Ajax engine. It is the object that enables a page to get data from (using the GET method) or post data to (using the POST method) the server as a background request, which means that it does not refresh the browser during this process. The XHR eliminates the need to wait on the server to respond with a new page for each request and allows users to continue to interact with the page while the requests are made in the background.
Aside from the background data processing, the GET and POST methods of the XHR object work the same as a standard HTTP request. Using either the POST or the GET method allows you to make a request for data from the server and receive a response in any standardized format. The most common formats in which to receive a response are XML, JSON (JavaScript Object Notation), and text. "The Response." POST is specifically useful when sending data that is larger than 512 bytes (an amount that the GET method cannot handle). After a response is received, the application can be populated with new data from the server by using the DOM with DHTML, which is a combination of XHTML, JavaScript, and CSS.

Related Posts by Categories

12 comments:

Anonymous said...

Can any one tell me 'Who invented AJAX'?

Anonymous said...

Microsoft first implemented the XMLHTTPRequest object in Internet Explorer 5 for Windows as an ActiveX object. It is the term coined after this support.

Asynchronous javascript and XML. Nobody invented AJAX, Jesse James Garrett of Adaptive Path coined the phrase early 2005 - but the tech was already in place much earlier than that.

Anonymous said...

What is JSON in AJAX?

Anonymous said...

JSON is the JavaScript Object Notation, and it is a lightweight data interchange format. It provides Java Scripts eval() method to easily parse an XML.

Anonymous said...

What does AJAX stands for? :(

Anonymous said...

AJAX:- Asynchronous JavaScript and XML :)

Anonymous said...

Who is the inventor of AJAX?

Anonymous said...

nobody invented AJAX....

Microsoft first implemented the XMLHTTPRequest object in Internet Explorer 5 for Windows as an ActiveX object.

it is the term coined after this support.

Asynchronous javascript and XML.

Anonymous said...

They're probably after the name Jesse James Garrett of Adaptive Path, who coined the term

Anonymous said...

"Coined A Name For" and "Invented" are two different things. I think it's safe to say, "Any individual who claims to have invented AJAX (the tech) is a fraud." Just like the "sphere" existed before it got the name, so is AJAX.

Anonymous said...

Is Ajax just another name for XMLHttpRequest?

Anonymous said...

No. XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is our name for the overall approach described in the article, which relies not only on XMLHttpRequest, but on CSS, DOM, and other technologies.

Useful Links on Adobe Flex

Your Ad Here

Latest Books on Adobe Flex