[PHP-DEV] Re: Adding pecl/http to core

2008-09-30 Thread Michael Wallner
Ralph Schindler wrote:
 Mike,
 
 I have a few questions about the API and target use cases.  What is the
 best medium to ask these questions and document them?  This thread
 certainly is not the best place im sure of.

I'm moving this to php.pecl.dev then.  That should be the right place.

Regards,
Mike

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-29 Thread Ralph Schindler

Mike,

I have a few questions about the API and target use cases.  What is the 
best medium to ask these questions and document them?  This thread 
certainly is not the best place im sure of.


Thanks,
Ralph

Michael Wallner wrote:

Jani Taskinen wrote:


So pecl/http is actually ext/curl with OO API?


Not really. libcurl is not HTTP only, pecl/http utilizes libcurl for
it's HTTP request functionality. pecl/http also provides much improved
HTTP response and zlib functionality besides an swizz-army-knife for URLs.


Why not merge the two then..? Or rather, replace ext/curl with pecl/http
once latter has BC API for us non-oo folks out there..


You don't have to write OO code to use pecl/http, neither do you
have the possibility to query any protocol other than HTTP with 
pecl/http.


Regards,
Mike




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-26 Thread Michael Wallner
Jani Taskinen wrote:

 So pecl/http is actually ext/curl with OO API?

Not really. libcurl is not HTTP only, pecl/http utilizes libcurl for
it's HTTP request functionality. pecl/http also provides much improved
HTTP response and zlib functionality besides an swizz-army-knife for URLs.

 Why not merge the two then..? Or rather, replace ext/curl with pecl/http
 once latter has BC API for us non-oo folks out there..

You don't have to write OO code to use pecl/http, neither do you
have the possibility to query any protocol other than HTTP with 
pecl/http.

Regards,
Mike

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-25 Thread Jani Taskinen

Mike R wrote:

Nathan Nobbe wrote:

Michael Wallner wrote:

Hi,

I wonder what the general opinion is on adding pecl/http to the main PHP
distribution?  Many people have poked me in the past, so I guessed it's
time to ask me and you that question once for all.

+1


+1


FWIW, ditto.


no to insult, but i find the curl api a bit painful.  the http extension is
a lot more api friendly for us oo folks out there.


So pecl/http is actually ext/curl with OO API?
Why not merge the two then..? Or rather, replace ext/curl with pecl/http 
once latter has BC API for us non-oo folks out there..


--Jani





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-25 Thread Nathan Nobbe
On Thu, Sep 25, 2008 at 12:24 AM, Jani Taskinen [EMAIL PROTECTED]wrote:

 Mike R wrote:

 Nathan Nobbe wrote:

 Michael Wallner wrote:

 Hi,

 I wonder what the general opinion is on adding pecl/http to the main
 PHP
 distribution?  Many people have poked me in the past, so I guessed it's
 time to ask me and you that question once for all.

 +1


 +1


 FWIW, ditto.

  no to insult, but i find the curl api a bit painful.  the http extension
 is
 a lot more api friendly for us oo folks out there.


 So pecl/http is actually ext/curl with OO API?


for the most part, yes (i know it requires libcurl to build), but it has a
set of functions in the global scope as well, like http_put() and
http_post().

Why not merge the two then..? Or rather, replace ext/curl with pecl/http
 once latter has BC API for us non-oo folks out there..


im not sure the global function set in pecl/http interact w/ each other as
do those in ext/curl.  the two sets of functions may be mutually exclusive,
but i suspect there could be some BC breakage in a merge of the two
extensions.

-nathan


[PHP-DEV] Re: Adding pecl/http to core

2008-09-24 Thread Greg Beaver
Michael Wallner wrote:
 Hi,
 
 I wonder what the general opinion is on adding pecl/http to the main PHP
 distribution?  Many people have poked me in the past, so I guessed it's
 time to ask me and you that question once for all.

+1

Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Re: Adding pecl/http to core

2008-09-24 Thread Nathan Nobbe
On Wed, Sep 24, 2008 at 5:00 PM, Greg Beaver [EMAIL PROTECTED] wrote:

 Michael Wallner wrote:
  Hi,
 
  I wonder what the general opinion is on adding pecl/http to the main PHP
  distribution?  Many people have poked me in the past, so I guessed it's
  time to ask me and you that question once for all.

 +1


+1

no to insult, but i find the curl api a bit painful.  the http extension is
a lot more api friendly for us oo folks out there.

-nathan


RE: [PHP-DEV] Re: Adding pecl/http to core

2008-09-24 Thread Mike R
Nathan Nobbe wrote:
  Michael Wallner wrote:
   Hi,
  
   I wonder what the general opinion is on adding pecl/http to the main PHP
   distribution?  Many people have poked me in the past, so I guessed it's
   time to ask me and you that question once for all.
 
  +1
 
 
 +1

FWIW, ditto.

 no to insult, but i find the curl api a bit painful.  the http extension is
 a lot more api friendly for us oo folks out there.

Troll.

:)

Best Regards,

Mike Robinson




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: Adding pecl/http to core

2008-09-23 Thread Karsten Dambekalns

Hi.

Michael Wallner wrote:

I wonder what the general opinion is on adding pecl/http to the main PHP
distribution?  Many people have poked me in the past, so I guessed it's
time to ask me and you that question once for all.


Not that I have a lot to say here, but +∞ from my side as well.

Karsten

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php