muzidudu / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

XHR API for Zend_Http_Client #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Make a fake API for Zend_Http_Client which mimics XMLHttpRequest:
http://en.wikipedia.org/wiki/XMLHttpRequest

Original issue reported on code.google.com by tobiasz....@gmail.com on 22 Sep 2008 at 8:56

GoogleCodeExporter commented 8 years ago
PECL HTTP extension can be used as alternative http backend.
http://pecl.php.net/package/pecl_http

Original comment by tobiasz....@gmail.com on 20 Oct 2008 at 10:51

GoogleCodeExporter commented 8 years ago
Another one http://sourceforge.net/projects/snoopy/

Original comment by tobiasz....@gmail.com on 21 Oct 2008 at 4:37

GoogleCodeExporter commented 8 years ago
Snoopy is rather dated. It may be wise to design this functionality to use 
drivers so
that Zend_Http_Client, pecl_http, snoopy, or whatever HTTP client library you 
prefer
can be used by simply writing an appropriate driver.

Original comment by tobias...@gmail.com on 29 Mar 2009 at 10:17

GoogleCodeExporter commented 8 years ago
What do you mean by "rather dated" ? One of the purpose of XHR API for HTTP 
client is
ability to switch the client to any other which supports XHR API. I think this 
is
what you've just proposed. Another benefit is API unification with JS.

Original comment by tobiasz....@gmail.com on 30 Mar 2009 at 9:35