W3C home > Mailing lists > Public > public-webapi@w3.org > July 2006

XMLHttpRequest (re)synchronization

From: Robin Pelgrim <robinpelgrim@zonnet.nl>
Date: Sun, 2 Jul 2006 00:32:54 +0200
Message-ID: <001301c69d5e$4b9042f0$0601a8c0@OWNERQTHV6IJCX>
To: <public-webapi@w3.org>
Please watch closer to the functionality of XMLHttpRequest.
Since it used mostly in a Javascript environment, where no threading functions are supported (at the moment) ,
ways for (re)synchronize asynchronous requests are insufficiant.
Since there is no Thread.sleep functionality in Javascript there is no way wait for the request to be finished without leaving a function (without using setTimeout).
This is unacceptable for application building. It's al so clumsy, primitive.
I expect more from W3C and introduce good standards.
Till there is no Threading functionality in JavaScript, the XMLHttpRequest object should be extended with
a 'resync' function. With this function you (simply) can wait for a async request to finish.

(Of coarse it would be better to impement Threading functionality in JS, but for the moment it just isn't there).

it's far from complete by now, please try to improve the standards.


Robin Pelgrim
Received on Wednesday, 5 July 2006 22:11:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC