Have XMLHttpRequest Your Way...Last Chance

If you like to review W3C standards before they become official, here's one you need to take a close look at. The W3C Web API Working Group has published the Last Call Working Draft of "The XMLHttpRequest Object" specification.
The XMLHttpRequest Object specification outlines a standard for sending data between a client and a server via a scripting engine. The data can be in XML or any text based format and can be transmitted over either HTTP or HTTPS.
The specification relies on the DOM, HTML 5 and HTTP specifications. All conforming user agents must support these specifications to some degree (or completely).
SPONSORSHIP
CMSWire speaks to a specific
audience of professionals. You can too.
Learn more.
A quick overview of the XMLHttpRequest object tells us that there are:
Five States
- UNSENT: The state when first constructed.
- OPENED: Means the open() method has been successfully invoked. Request headers can be made and the request be sent.
- HEADERS_RECEIVED: The state when the response headers have been received.
- LOADING: The state when the response entity body is being received.
- DONE: This state means the data transfer is complete or something has gone wrong.
One Event
- readystatechange: This event must implement the Event interface and it's namespace URI attribute must be null. It also must not bubble or be cancel-able
Exceptions
The specification uses the DOMException object defined in DOM Level 3 Core. All exceptions are part of the group ExceptionCode. The specification extends this group with three new constants: SECURITY_ERR = 18, NETWORK_ERR = 101 and ABORT_ERR = 102
This specification is one of the missions of the W3C Rich Web Clients Activity who aim to improve the client-side experience of the web.
You have until June 2, 2008 to submit comments on the specification. Ensure your email has either [XHR] or [XMLHttpRequest] as the beginning of the Subject Line or it may get lost in the shuffle.
Just Published
- Six Apart Nabs Pownce Micro-Blog Platform, Shuts It Down
- Microsoft Doles-out 5GB Free Online Storage
- UpComing Conferences: Drupal, Social Networking, CMS and More
- 2009 Trends in SaaS Web Content Management
- DotNetNuke CMS Infused With Extra Cash
- Lifting Veil of Secrecy About Search Technologies
- Google Gets Closer to the Enterprise Offering Form Templates
- Weekly Roll-Up: Top Stories, Memes and Moments (29-Nov-08)
- CMS Watch Teaches Fundamentals of eDiscovery
- Old Data in MOSS? Try C2C Archive One
Be the First to Comment
From the Job Board (View All Jobs
|
Jobs Feed
| Post a Job)
- Ruby Software Engineer at iList, Inc
- Web UI Developer at EMI Digital Music
- Director of Developer Community at The Echo Nest
- User Interface Engineer at Facebook
- Full Time Writer at TechCrunch
- Senior Technical Consultant at Acquia
- Director of Technology with Drupal Experience at Imagination
- Software Developer with Drupal Experience at Center for History and New Media



Email a Friend
Digg It
