aUnit: Unit Testing Aspects Firefox 1.0: Congrats guys
Nov 09

XML HTTP Request object (and named parameters)

Ajax, Tech Add comments

Sometimes it can be a little painful, or I should say, restricting working with browsers as a client UI.

Features like XML HTTP Request definitely help out. It is great to be able to shoot off a message on the background and not have to rerender pages all of the time.

Before XMLHttpRequest, we had to do various hacks. Maybe involving opening tiny windows, using Applets, or whatever sneaky tool we can think off.

If you have an app that needs to poke back to the server check it out.

Reading code such as:

xmlhttp.open(”GET”, “test.txt”, true);

again makes me love Named Parameters:

xmlhttp.open(httpmethod:”GET”, url:”test.txt”, asyncFlag: true);

It would help my readability at least.

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'cricket'