XmlHttpRequest rocks

javascript tools

I've been using the XmlHttpRequest mechanism to communicate directly between client-side javascript and a server application.

Very useful, simple to use and fairly portable: although my target in this case is Internet Explorer, the same javascript code works on Firebird and Safari on macosx (but not with Opera for example).

So this is limited to cases where you control the client population, but being able to communicate "behind the scenes" between a page and the application server opens many possibilities for data validation, multiple clipboards, spell checking and much more, with a minimum of javascript code. I've also seen some great examples of this combined with XUL.

The following pages were very useful in getting this to work: