XmlHttpRequest rocks

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:

4 Responses to XmlHttpRequest rocks

  1. Fiddling with XML in the browser

    Via Bertrand, just some bookmarks I have to go back to when I have some time… Using the XML HTTP Request object by Jim Ley. Mozilla’s XML Extras Online Tests…

  2. Fiddling with XML in the browser

    Via Bertrand, just some bookmarks I have to go back to when I have some time… Using the XML HTTP Request object by Jim Ley. Mozilla’s XML Extras Online Tests…

  3. links for 2004-12-22

    Abandonia – Home of abandonware DOS games (categories: fun) Martian Software – NailGun: Insanely Fast Java Run all your…

%d bloggers like this: