Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 054 / 112Seen 0 / 112Colophon

The Dynamic Web

XMLHttpRequest, 1999. Era IV, The Dynamic Web.

Era IV · 1999–2007

← drag · scroll · arrow keys →

1999XMLHTTPvar xhr = new ActiveXObject("Microsoft.XMLHTTP");xhr.open("GET", "/inbox", true);xhr.onreadystatechange = update;xhr.send();

The original form in Internet Explorer 5: an ActiveX object that fetched data without reloading the page. Typeset for this timeline: no licence-clean photograph of the thing itself was found.

Key details

When
1999 (Internet Explorer 5, 18 March 1999)
Who
Alex Hopmann, Shawn Bracewell and the Exchange/Outlook Web Access team at Microsoft, with Chris Lovett of the MSXML team
Where
Microsoft, Redmond
Answered
It let the DHTML version of Outlook Web Access fetch data over HTTP without reloading the page.
Led to
It became the core of the Ajax pattern and was standardized by W3C and later WHATWG, then supplemented by fetch().

No. 054 · 1999 · Script · Era IV, The Dynamic Web

XMLHttpRequest

Let a script fetch data from the server in the background without reloading the page.

Facts

  1. Hopmann wrote the first crude version over a weekend for Outlook Web Access; Shawn Bracewell then rewrote it with async support and error handling. 1
  2. Because Internet Explorer 5 was weeks from beta 2, the team arranged to ship it inside the MSXML library, checking it in about a week before the beta. 1
  3. Internet Explorer 5 was released on March 18, 1999. 3
  4. Mozilla's Gecko adopted the XMLHttpRequest name in 2002, Safari 1.2 followed in 2004, and Opera 8.0 in 2005. 2
  5. W3C published a Working Draft for the XMLHttpRequest object on April 5, 2006, and WHATWG took over development at the end of 2012. 2

Quirks

  • Hopmann says the XML in the name had no specific tie to XML; it was the easiest excuse for shipping it in the MSXML library. 1

Sources

  1. Alex Hopmann, "The story of XMLHTTP"
  2. Wikipedia, XMLHttpRequest
  3. Wikipedia, Internet Explorer 5
Came from
Led to