Just recently on Stylish Scripting, Simon Willison introduced the possibilities presented by the XMLHttpRequest extension to JavaScript:
XMLHttpRequest is one of modern DHTML’s best kept secrets. If you haven’t encountered it before, it’s a method of making an HTTP call back to the hosting web server without refreshing the whole page – a kind of remote scripting on steroids. Originally a Microsoft extension, it’s been adapted by both the Mozilla browser family and (as of version 1.2) Safari.
It’s my understanding that Google uses XMLHttpRequest extensively in Gmail to help make it so fast and desktop application-like.
Richard@Home wrote:
I’ve been experimenting with javascript remote procedure calls (the same thing as XMLHttpRequests). Here’s the fruits of my labour:
http://richardathome.no-ip.com/index.php?article_id=317
Simon Proctor wrote:
I got to use XLHTTPRequest when working on s1homes.com a few months ago. Which was fun. Getting it to work with Opera required me to invent one of the most evil evil twisted javscript hacks ever.
....
Did you know in Opera you can change the src attribute of a script tag?
Even now I shiver to think of it. But it works so it can’t be that bad.
tom wrote:
I think that deviantART (.com) uses this as well, for the live submission count on their home page…. not sure though.
Bradley Baumann wrote:
DeviantArt’s submission counter is hardcoded JavaScript. It is not live.