- SharePoint 2010 - 5 Hot Features to Look Forward To
- Selecting a CMS: How to Build a Short List
- Alterian Drops Immediacy, Morello Web CMS Brands
- Installing SharePoint 2010 on Windows 7
- How SharePoint 2010’s Metadata Services Increase Usability
- Gartner’s Top 5 BPM Predictions for 2010 And Beyond
- Open Text Reports Good Q2, Vignette Contributes to YoY Spike
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).
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.
Be the First to Comment
From our Job Board View all jobs
|
Jobs RSS feed
| Post a job right now
Featured Events View all events
|
Events RSS feed
| Add your event
- Feb 17, 2010 – Webinar: 4 Essential Strategies for Advancing Your Website's Business Impact
- Feb 26, 2010 – Intelligent Content 2010
- Apr 21, 2010 – Drupalcon San Francisco 2010
- May 5, 2010 – CMS Expo 2010 (Evanston)
- Oct 7, 2010 – HartmanEVENT 2010 - Social Media & Mobile Usability

Get the Newsletter
Email It
Stumble It
Add RSS
Processing...

