3 Apr 2005 ignatz   » (Journeyer)

AJAX XMLHttpRequest Helper Class

Just put up a finished XMLHttpRequest JavaScript class to simplify working with the things. It's based upon stuff glommed from a lot of sources. The main thing is that I wanted to create an OO wrapper around the code and clean up how it can be called.


var http = new AjaxRequest()
http.setForm(new URLBuilder("word", "ping"))
var synchronousGet = http.get()
var synchronousPost = http.post()
// Asynchronous

See also: ViewCVS, tar and test page.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!