Blog Post RSS ?

Blogs » JavaScript & CSS » W3C works to standardize XMLHttpRequest
 

W3C works to standardize XMLHttpRequest

by Kevin Yank

The World Wide Web Consortium’s (W3C) new Web API Working Group has released a working draft of the official specification for the XMLHttpRequest object, which is at the heart of AJAX.

The XMLHttpRequest object, which enables JavaScript code to make requests to the server and process the responses, is supported in most current browsers, including Mozilla/Firefox, Safari, Opera, and the upcoming Internet Explorer 7. Internet Explorer 5/6 offers the functionality of XMLHttpRequest through an ActiveX control of the same name.

According to the draft, the first version of the specification aims to document the cross-browser functionality that is currently available only. Features that only exist in one browser will not be included in the specification, nor will any new features. In the few cases where the various browsers disagree on how a given feature should work, the specification will describe the “most correct” behaviour, as determined by the spec’s authors. What should result is useful documentation for web developers of just what they can rely on and use today. At the same time, the document will provide a target that will enable new implementations to ensure interoperability.

Prior to this W3C spec, the only vendor-neutral specification for just what XMLHttpRequest should do was to be found in the Web Hypertext Application Technology Working Group’s (WHAT-WG) Web Applications 1.0 Working Draft specification, which contained plenty of ambiguities and issues. Heavily based on the WHAT-WG’s work, the W3C’s spec cleans up many of those issues, and is generally a more solid foundation for developers.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. Will Microsoft Implement HTML5 in Internet Explorer? Microsoft has not rushed to implement HTML5 within Internet Explorer,...
  2. The W3C Want Your Feedback The W3C website is undergoing a long-deserved redesign and the...
  3. RIP XHTML 2 XHTML 2 is no more. It has ceased to be....
  4. The New W3C Website Goes Live … With Invalid CSS! The new and overdue W3C website redesign has been completed....
  5. W3C Markup Validation Service adds experimental HTML5 support A few days ago, the W3C added experimental support for...

This post has 28 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...