[PHP-DEV] [RFC][VOTE] pecl_http

2015-02-20 Thread Michael Wallner
Hi, as already threatened, I hereby open the vote on the pecl_http RFC. https://wiki.php.net/rfc/pecl_http#vote -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-02-01 Thread Yasuo Ohgaki
Hi all, On Sat, Jan 31, 2015 at 10:48 PM, Pierre Joye pierre@gmail.com wrote: On Jan 31, 2015 9:08 PM, Pavel Kouřil pajou...@gmail.com wrote: On Sat, Jan 31, 2015 at 1:41 PM, Pierre Joye pierre@gmail.com wrote: There is zero reason to discuss what has been approved and

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Pierre Joye
On Jan 31, 2015 9:08 PM, Pavel Kouřil pajou...@gmail.com wrote: On Sat, Jan 31, 2015 at 1:41 PM, Pierre Joye pierre@gmail.com wrote: There is zero reason to discuss what has been approved and followed for years already. I will simply post the link to our CS as a reminder and ask

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Tony Marston
Stanislav Malyshev wrote in message news:54cbd947.7050...@gmail.com... Hi! Just because that most of the code YOU have seen uses CamelCase does not mean that CamelCase is the standard. I programmed in other languages for over 20 years before I switched to PHP, and in those languages the

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Tony Marston
Yasuo Ohgaki wrote in message news:caga2bxzgljrp6i2vdnkdga8dw7nothc9ie17tst40kpbbha...@mail.gmail.com... Hi Tony, On Fri, Jan 30, 2015 at 7:08 PM, Tony Marston tonymars...@hotmail.com wrote: Pavel Kouril wrote in message

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Tony Marston
Larry Garfield wrote in message news:54cbb0cd.9010...@garfieldtech.com... On 1/30/15 4:08 AM, Tony Marston wrote: Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote:

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Pierre Joye
On Jan 30, 2015 6:09 PM, Tony Marston tonymars...@hotmail.com wrote: Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just one observation -

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Pierre Joye
On Jan 31, 2015 5:57 PM, Tony Marston tonymars...@hotmail.com wrote: Yasuo Ohgaki wrote in message news:caga2bxzgljrp6i2vdnkdga8dw7nothc9ie17tst40kpbbha...@mail.gmail.com... Hi Tony, On Fri, Jan 30, 2015 at 7:08 PM, Tony Marston tonymars...@hotmail.com wrote: Pavel Kouril wrote in

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-31 Thread Pavel Kouřil
On Sat, Jan 31, 2015 at 1:41 PM, Pierre Joye pierre@gmail.com wrote: There is zero reason to discuss what has been approved and followed for years already. I will simply post the link to our CS as a reminder and ask everyone to read it if they never did:

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Larry Garfield
On 1/30/15 4:08 AM, Tony Marston wrote: Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just one observation - would be the name of the classes

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Michael Wallner
On 30/01/15 20:19, Stanislav Malyshev wrote: Hi! Just because that most of the code YOU have seen uses CamelCase does not mean that CamelCase is the standard. I programmed in other languages for over 20 years before I switched to PHP, and in those languages the standard was snake_case. That

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Stanislav Malyshev
Hi! Just because that most of the code YOU have seen uses CamelCase does not mean that CamelCase is the standard. I programmed in other languages for over 20 years before I switched to PHP, and in those languages the standard was snake_case. That is the standard I still use, and I will object

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Tony Marston
Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just one observation - would be the name of the classes and namespaces stay the same after

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Tony Marston
Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just one observation - would be the name of the classes and namespaces stay the same after

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Julien Pauli
On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday,

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Tony Marston
Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just one observation - would be the name of the classes and namespaces stay the same after

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-30 Thread Yasuo Ohgaki
Hi Tony, On Fri, Jan 30, 2015 at 7:08 PM, Tony Marston tonymars...@hotmail.com wrote: Pavel Kouril wrote in message news:cab6yzuzymbaa5i3f9nsvebg2b7yjvo4ryvpy-eac78rsojx...@mail.gmail.com... On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, snip Hello, just

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-29 Thread Andrey Andreev
Hi, On Thu, Jan 29, 2015 at 9:48 AM, Matteo Beccati p...@beccati.com wrote: Hi Andrey, On 28/01/2015 23:50, Andrey Andreev wrote: You're voting no because the FIG can't agree yet? They've been discussing this for *at least* an year and iirc the first PSR-7 coordinator gave up on it because

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-29 Thread Andrey Andreev
Hi, On Thu, Jan 29, 2015 at 12:52 PM, Matteo Beccati p...@beccati.com wrote: Hi Andrey, On 29/01/2015 10:41, Andrey Andreev wrote: It's not about whether we like the FIG's direction or what PSR stands for (which doesn't make sense btw) - that is indeed OT. My message was different: the

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-29 Thread Matteo Beccati
Hi Andrey, On 29/01/2015 10:41, Andrey Andreev wrote: It's not about whether we like the FIG's direction or what PSR stands for (which doesn't make sense btw) - that is indeed OT. My message was different: the PHP RFC process can't get blocked because of a third-party group, especially if your

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-29 Thread Martin Keckeis
2015-01-29 14:07 GMT+01:00 Pavel Kouřil pajou...@gmail.com: On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-29 Thread Pavel Kouřil
On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday, February

[PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday, February 6th. https://wiki.php.net/rfc/pecl_http#vote -- Regards, Mike --

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Stanislav Malyshev
Hi! Some feedback: I feel the RFC is not clear about the advantages and disadvantages of including this package. Mostly, the RFC is hey I have this package can we include it in core? I feel like it's fairly incomplete Agreed. There needs to be some work done on explaining why we need to

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Matteo Beccati
On 28/01/2015 22:03, Stanislav Malyshev wrote: You could, in theory, have extension defining those interfaces and autoload userland definitions only if the extension is not present. That's basically what I meant. Thanks for clarifying. Cheers -- Matteo Beccati Development Consulting -

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Larry Garfield
On 1/28/15 2:46 PM, Matteo Beccati wrote: On 28/01/2015 20:19, Michael Wallner wrote: On 28/01/15 20:07, Matteo Beccati wrote: As Nikita mentions, PSR-7 is under way and currently gaining some traction. At the moment the PSR-7 interfaces are designed to be immutable, although I that's still

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Stanislav Malyshev
Hi! Personally, I’ve never liked that PHP requires cURL for doing HTTP requests. It’s a language made for the web, it should have built-in I see no problem in depending on cURL. NIH'ing every part of the software universe in unfeasible, and if somebody does this one job and does it well - why

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Stanislav Malyshev
Hi! Related to this: is it even possible for an internal class to rely on and formally, explicitly “implement” a userland interface? It’s all It's probably not a very good idea - internal classes are supposed to be alive at the start of the request, but the userland interfaces can't be there

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hi Stas, On 28 Jan 2015, at 20:30, Stanislav Malyshev smalys...@gmail.com wrote: Hi! Personally, I’ve never liked that PHP requires cURL for doing HTTP requests. It’s a language made for the web, it should have built-in I see no problem in depending on cURL. NIH'ing every part of the

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Matteo Beccati
On 28/01/2015 20:19, Michael Wallner wrote: On 28/01/15 20:07, Matteo Beccati wrote: As Nikita mentions, PSR-7 is under way and currently gaining some traction. At the moment the PSR-7 interfaces are designed to be immutable, although I that's still open for debate. If the RFC passes, we'd be

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Stanislav Malyshev
Hi! As stated in one of the discussion threads, those dependencies could be merged to main/ and/or ext/standard. In the current patch the persistent This should be prominently part of the RFC, not buried in the threads. Merging two extensions into ext/standard is not some tiny detail that

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hi Michael, On 28 Jan 2015, at 19:48, Michael Wallner m...@php.net wrote: On 28/01/15 20:18, Andrea Faulds wrote: If the client is merely a wrapper around cURL, what benefit does it offer over ext/curl except a better API? Personally, I’ve never liked that PHP requires cURL for doing

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 21:32, Stanislav Malyshev wrote: Hi! Some feedback: I feel the RFC is not clear about the advantages and disadvantages of including this package. Mostly, the RFC is hey I have this package can we include it in core? I feel like it's fairly incomplete Agreed. There needs to be

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hey everyone, On 28 Jan 2015, at 20:46, Matteo Beccati p...@beccati.com wrote: Since PSR-7 is being discussed now *and* pecl_http can't implement an interface that still is being discussed, I would rather vote no now and maybe change my mind in future if PSR-7 becomes a thing and

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Stanislav Malyshev
Hi! I explained that in another mail and will put it (amongst a lot of other things that came up during this thread) into the RFC: This is not enough. Saying ZE APIs suck, so I implemented a bunch of my own and want to merge it in core because I like them is not enough to make an informed

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrey Andreev
Hi, On Wed, Jan 28, 2015 at 10:46 PM, Matteo Beccati p...@beccati.com wrote: On 28/01/2015 20:19, Michael Wallner wrote: On 28/01/15 20:07, Matteo Beccati wrote: As Nikita mentions, PSR-7 is under way and currently gaining some traction. At the moment the PSR-7 interfaces are designed to be

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Dan Ackroyd
On 28 January 2015 at 22:50, Andrey Andreev n...@devilix.net wrote: You're voting no because the FIG can't agree yet? They've been discussing this for *at least* an year and iirc the first PSR-7 coordinator gave up on it because he no longer believed in the end result. What does that tell us?

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Matteo Beccati
Hi Andrey, On 28/01/2015 23:50, Andrey Andreev wrote: You're voting no because the FIG can't agree yet? They've been discussing this for *at least* an year and iirc the first PSR-7 coordinator gave up on it because he no longer believed in the end result. What does that tell us? That some

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Levi Morrison
Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday, February 6th. https://wiki.php.net/rfc/pecl_http#vote I wish you had pinged

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Levi Morrison
On Wed, Jan 28, 2015 at 10:53 AM, Levi Morrison le...@php.net wrote: Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday, February 6th.

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hi Levi, On 28 Jan 2015, at 17:53, Levi Morrison le...@php.net wrote: Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday,

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hi Levi, On 28 Jan 2015, at 17:58, Levi Morrison le...@php.net wrote: Oh, one more item: has anyone had time to review the pieces and how they all interact, as well as reviewing the quality of each component? I should hardly think in the time given this has been done. I'm not saying this

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Nikita Popov
On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net wrote: Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday,

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 18:58, Levi Morrison wrote: On Wed, Jan 28, 2015 at 10:53 AM, Levi Morrison le...@php.net mailto:le...@php.net wrote: Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 19:08, Nikita Popov wrote: On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner m...@php.net mailto:m...@php.net wrote: Hi, Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Matteo Beccati
On 28/01/2015 13:17, Michael Wallner wrote: Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on Friday, February 6th.

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 19:03, Andrea Faulds wrote: Hi Levi, On 28 Jan 2015, at 17:58, Levi Morrison le...@php.net wrote: Oh, one more item: has anyone had time to review the pieces and how they all interact, as well as reviewing the quality of each component? I should hardly think in the time given

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 20:07, Matteo Beccati wrote: On 28/01/2015 13:17, Michael Wallner wrote: Discussion has been very low on this topic since it was proposed on August 19th, so I just opened the vote on the RFC whether to add pecl_http to the core. The vote will be open until about 12:00 UTC on

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Andrea Faulds
Hi Michael, On 28 Jan 2015, at 19:13, Michael Wallner m...@php.net wrote: - Client The http stream wrapper is a hack and the existing libcurl binding is subpar. They could be improved separately, but that is not subject of this RFC. Currently only libcurl is implemented as a provider

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 20:18, Andrea Faulds wrote: Hi Michael, On 28 Jan 2015, at 19:13, Michael Wallner m...@php.net wrote: - Client The http stream wrapper is a hack and the existing libcurl binding is subpar. They could be improved separately, but that is not subject of this RFC. Currently

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Lester Caine
On 28/01/15 19:19, Michael Wallner wrote: Also, we're planning to move extensions from core to pecl, for example ext/mysql which I is still widely used by many applications, despite its known shortcomings. TBH, I don't see many reasons why a pecl extension should be moved to core. So that

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
I'll forward this to internals, Chris. On 28/01/15 18:43, christopher jones wrote: On 1/28/15 9:28 AM, Michael Wallner wrote: On 28/01/15 18:22, christopher jones wrote: On 1/28/15 9:17 AM, Michael Wallner wrote: On 28/01/15 18:01, christopher jones wrote: On 1/28/15 4:17 AM, Michael

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Levi Morrison
On Wed, Jan 28, 2015 at 11:12 AM, Michael Wallner m...@php.net wrote: On 28/01/15 18:58, Levi Morrison wrote: On Wed, Jan 28, 2015 at 10:53 AM, Levi Morrison le...@php.net mailto:le...@php.net wrote: Discussion has been very low on this topic since it was proposed on

Re: [PHP-DEV] [RFC] [VOTE] pecl_http

2015-01-28 Thread Michael Wallner
On 28/01/15 21:03, Levi Morrison wrote: On Wed, Jan 28, 2015 at 11:12 AM, Michael Wallner m...@php.net mailto:m...@php.net wrote: On 28/01/15 18:58, Levi Morrison wrote: On Wed, Jan 28, 2015 at 10:53 AM, Levi Morrison le...@php.net mailto:le...@php.net mailto:le...@php.net