AJAX and Latency with HTML_AJAX
After Harry's talk about Latency in the UK PHP Conference 2006 there was many discussions about AJAX and Latency and how to solve this issue. Joshua posted about HTML_AJAX and Latency with a quick hack that gives you more control on the request queue
while HTML_AJAX does a bit better then some toolkits it doesn’t handle them all. However thanks to HTML_AJAX’s design it not that hard to work around some of them.So to that extent here is a really simple livesearch demo that keeps the reponses in the same order as the requests. The server is adding latency for you so you don’t need to worry about setting up a proxy to try it out. This is only available from HTML_AJAX svn right now, but we should do a release in another week or so there are lots of other good fixes in it.


Subscribe to AJAX Magazine's feed