Re: HTML_AJAX next steps

From: Date: Mon, 18 Jul 2005 10:22:57 +0000
Subject: Re: HTML_AJAX next steps
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38687@lists.php.net to get a copy of this message
Hi Joushua, I'm a little unsure about the need to Objectize the javascript side... and the whole html_ajax2 seems to me more difficult to use that the previous code, and a bit more cumbersome. Even when usign the auto_server features adding a single remote methods involves a great amount of code writing, both on the server side & on the client. Moreover, I modified my test page (divide two numbers) using the new implementation; on my notebook the whole cycle request-reponse (async mode) requires about 50 msecs; my previous implementation was only 5 msecs. I suspect this "slowness" due to the object prototype into JS, and the JSON encoding-decoding at every request; usually we don't need a JSON encoding of the data we send to the server, that's true? On the other hand, it seems that html_ajax2 is more well accepted from the community; if so I'll be ready to delete my proposal for html_ajax, so you can propose the new implementation - but you must be the first mantainer for this because it's your own stuff! Regards, Luca

« previous php.pear.dev (#38687) next »