Posted by: mashuphowto | mars 23, 2008

XMLHttpRequest

From Wikipedia, the free encyclopedia

  (Redirected from XmlHttpRequest)
Jump to: navigation, search

HTTP
Persistence · Compression · SSL
Headers
ETag · Cookie · Referer
Status codes
200 OK
302 Found
403 Forbidden
404 Not Found

XMLHttpRequest (XHR) is an API that can be used by JavaScript and other web browser scripting languages to transfer XML and other text data between a web page’s Client-Side and Server-Side. Though it can do synchronous fetches, it is virtually always asynchronous, due to the greater UI responsiveness[1].

The data returned from XMLHttpRequest calls will often be provided by back-end databases. Besides XML, XMLHttpRequest can be used to fetch data in other formats such as HTML, JSON or plain text.

XMLHttpRequest is an important part of the Ajax web development technique, and it is used by many websites to implement responsive and dynamic web applications. Examples of web applications that make use of XMLHttpRequest include Google Maps, Windows Live’s Virtual Earth, the MapQuest dynamic map interface, Facebook and many others.

Contents

[hide]

Leave a response

Your response:

Catégories