Ajax Request toolbox

AjaxRequest is a layer over the XMLHttpRequest functionality which makes the communication between Javascript and the server easier for developers.

Goals of the AjaxRequest Library
  1. Simplify the interface to using XMLHttpRequest, making it more logical and consistent with what developers expect. No more worrying about the onreadystate handler or status codes!
  2. Add timeout functionality for async requests, allowing extended functionality if Ajax calls take too long
  3. Provide activity monitoring features, so developers can provide accurate "busy" indicators to users when Ajax requests are running in the background
  4. Support multiple simultaneous requests which will not collide with each other without any additional work from the developer
  5. Simplify form submissions, so submitting a form using Ajax is just a single function call. Form serialization, request headers, form targets and methods - they are all taken care of for you!

If you are looking for an easy way to break into Ajax programming without figuring out the details of how the requests work using XMLHttpRequest, this library will help you out.

Read more...

No Comments