Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81339 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50507 invoked from network); 28 Jan 2015 20:48:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 20:48:47 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.175 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:51190] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/E0-44076-F2B49C45 for ; Wed, 28 Jan 2015 15:48:47 -0500 Received: by mail-wi0-f175.google.com with SMTP id fb4so15048143wid.2 for ; Wed, 28 Jan 2015 12:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0eoRKI56zcSjzV/imZ91Myq1tqel0T9s6SOEaydfEEU=; b=vxBRoa1HnQs4UPbnB98fuaikEQJwK4IXBSbIYZSbDOo11eexH6SJYXoX0LthysQQvi EE8vWUovoW2EB//2BYvx0ycTY+xDttJFcC3Co114af3s6HIg41euapyZfa6Z/+RI/vUm agofKst3yTk3BtyQVphd7zQv6j2Qe2lTPOMv4akLWMkAt7PG5imqTvEO4QFVPJoyIFVG DFJ2I2qiLYfInp7EI1Ln9JwTGjKuOKNqayb8rEBXKEN4ns9KVR6pZ8LAc/aYK/6jdWPy c27FY3daSUY8Jw9l8nfm/8lv8aHAMs7ZQOdvFSCoxsY5G3jevwggZm40afFjJDIuggI1 9r9g== X-Received: by 10.180.21.162 with SMTP id w2mr10769262wie.42.1422478124642; Wed, 28 Jan 2015 12:48:44 -0800 (PST) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by mx.google.com with ESMTPSA id r3sm4321321wic.10.2015.01.28.12.48.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2015 12:48:43 -0800 (PST) Sender: Michael Wallner Message-ID: <54C94B2B.1050505@php.net> Date: Wed, 28 Jan 2015 21:48:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stanislav Malyshev CC: PHP Internals References: <54C8D36E.7010803@php.net> <54C94774.8000709@gmail.com> In-Reply-To: <54C94774.8000709@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [VOTE] pecl_http From: mike@php.net (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 some work done on explaining why we need to > include this in core, not just "ok, here's a bag of bits, do you want > it?" Maybe we do, maybe we don't - but please, help us decide that! I'd > like the RFC to clearly explain what the new extension does better and > why. > > Also, I see in the docs (which will need to be converted to docbook if > it is added, btw) this: > > This extension unconditionally depends on the pre-loaded presence of the > following PHP extensions: > > raphf > propro > spl > > SPL is fine, but what's with the other two? Are they to be merged into > core too? The RFC does not mention them and they seem to be some > unrelated things which I personally have no idea about. It was in the RFC, but they obviously vanished in the last edit... 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: ---8<--- 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 handle API is in main and the property proxy API is in ext/standard. The resource factory and persistent handle API provides a similar but extended set of functionality of what zend_list provides. ZE2 compatible docs can currently be found here: http://php.github.io/pecl-php-raphf/php__raphf_8h.html The property proxy handles R/W access to object properties that represent C struct members. Similar functionality was supposed to be in ZE2, but disfunctional to my findings. ZE2 compatible docs can currently be found here: http://php.github.io/pecl-php-propro/php__propro_8h.html --->8--- > > In general, I'd love to have great HTTP support in core, but let's do it > right. The more time you as RFC author spend now on explaining why this > ext is great, the more tools we'll have if it's accepted to get users to > actually use it, and that's the ultimate point of it. Without it, we > don't have adequate tools to make a decision and to support the users > after the decision if it's positive. > I'm a bad sales person, but I'll try better. -- Regards, Mike