AJAX best practices?
I'm new to the AJAX business and am trying to find a resource outlining the basics. In particular, I'm very concerned with handling out of order asynchronous requests, but can't seem to find a very solid recommendation on how to handle them. As of now I'm going to implement a queuing system for dynamic requests but would rather not re-invent the wheel...
19 comments
[ 2.9 ms ] story [ 49.2 ms ] threadAlso - I'm not necessarily using XMLHTTPRequest, I'm leaning towards dynamic scripting as my site will need this widget to run across several different subdomains - dynamic scripting doesn't have a lot of the nice status functionality that XMLHTTPRequest does...
Thanks again.
Edit: How dare I ask to be compensated for my time. I should be ashamed of myself.
If you have any more questions, feel free to ask.
If the user deletes the note and the server receives the delete request before other modification deltas, simply ignore the deltas that arrive after the delete command.
In my opinion it's a lot more simple to solve this kind of problems on the server side of a web application.