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: Jim Ley <jim@jibbering.com>
Date: Mon Jan 30 2006 - 20:41:35 CET

On Mon, 30 Jan 2006 18:56:01 +0000, The Magpie
<usenet@mpreston.demon.co.uk> wrote:

>One obvious possibility is that we could provide an explicitly Open
>Source and "black box" implementation of AJAX for simple and easy use.

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.

>ajax = new AJAXFactory();
>ajax.source = "{path}";
>ajax.get();
>
>... or something similar so that all the detail of AJAX is hidden from
>the user.

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.

The problems people are having are not in the request, it's in related
things.

Jim.
Received on Tue Feb 7 21:27:50 2006