Re: The open source escape route
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: The open source escape route

From: The Magpie <usenet@mpreston.demon.co.uk>
Date: Tue Jan 31 2006 - 14:43:47 CET

Jim Ley wrote:
>
> no-one understands what AJAX is, the simple solution is just using the
> object, any wrapper simply creates more confusion than just using the
> object.
>
> obj= new Thingy()
> obj.doWhenFinished=someFunction;
> obj.open("url")
> obj.send();
>
> is just as complicated as
>
> obj=new HTTPRequest();
> obj.open("get","url",false);
> obj.onreadystatechange=someFunction;
> obj,send("");
>
> There's simply nothing to be gained by the abstraction.
>
Personally, I agree (which is why in the "should we" bit I said we
shouldn't do it). In an ideal world, the obvious answer is to simplify
the process through changes to the script language taken the normal
route through ECMA.
Received on Tue Feb 7 21:28:43 2006