Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71755 invoked from network); 6 Jan 2015 15:07:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2015 15:07:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.41 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.41 mail-qa0-f41.google.com Received: from [209.85.216.41] ([209.85.216.41:51632] helo=mail-qa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9C/A1-61664-53AFBA45 for ; Tue, 06 Jan 2015 10:07:34 -0500 Received: by mail-qa0-f41.google.com with SMTP id s7so16454282qap.0 for ; Tue, 06 Jan 2015 07:07:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M82dY+KComvv+g+zcODTOjU/xLSP/ICGrxuMo0osQ1c=; b=gavSg/G/4SeHzNVIsJzETP7tK7j0LncBSPftq9W8BJBV2f9pxJdrbsovu2wRu9B6VU aDgVWqdLhDK6HQ17IKhKpY9eD4La+Hl/bmmZ+KXEi+Bzc4z7pl9APkij5qqKFh1tMf7v /9E0VWvKGBaraD9CI7qg3XIFaqp0gVmhPVngBnF8+WRH6FUj5itwXuHz3xXoSompWGQd xQ8lnOlt48oiRLMnNrQHMT70PdPER5DHze/UpPuOeQYyiqMsRu/VI7zFy+OQBah4Bzf9 pGAZteK0R5DWa3tFdggOytEPfr3MxboMePMm1jqNROIOJ43fNSukn86rKwkGne3Ty+t1 wjcg== MIME-Version: 1.0 X-Received: by 10.140.93.103 with SMTP id c94mr33745422qge.54.1420556850394; Tue, 06 Jan 2015 07:07:30 -0800 (PST) Received: by 10.140.22.106 with HTTP; Tue, 6 Jan 2015 07:07:30 -0800 (PST) Received: by 10.140.22.106 with HTTP; Tue, 6 Jan 2015 07:07:30 -0800 (PST) In-Reply-To: References: <54AAF98B.4020709@gmail.com> <001b01d029bb$fa687fc0$ef397f40$@tekwire.net> Date: Tue, 6 Jan 2015 07:07:30 -0800 Message-ID: To: Benjamin Eberlei Cc: Stas Malyshev , Sara Golemon , Derick Rethans , PHP internals , francois@tekwire.net Content-Type: multipart/alternative; boundary=001a1139b508737f5a050bfd2ade Subject: Re: [PHP-DEV] [RFC] Extension Prepend Files From: pierre.php@gmail.com (Pierre Joye) --001a1139b508737f5a050bfd2ade Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jan 6, 2015 9:53 PM, "Benjamin Eberlei" wrote: > > > > On Tue, Jan 6, 2015 at 3:50 PM, Pierre Joye wrote: >> >> >> On Jan 6, 2015 9:20 PM, "Fran=C3=A7ois Laupretre" wrote: >> The whole code to consider as part of an extension, whatever the language, must be kept in sync. And the best way to achieve this is to store it in a single file. >> >> I would rather say in a single release and package. Built in scripts in an extension is an extremely bad step, maintenance, issues management and all possible complications to allow that may bring. But we get each other view. I only hope we will not do that. >> >> Also interesting to ignore the other questions, which are imho very critical. :) > > How is shipping php code inside so/ddl worse than shipping just the C code this way? I agree with you it makes changing the PHP code more difficult (requires recompile), but it makes the deployment and build much simpler. Including the security concerns. It does not make the builds simpler, in contrary. From an initial release point of view, no change. However for any other release, it changes a lot. The glue code may change more often (it does for a few of my exts f.e.), updates process are then totally different, from a packaging and deployment point of view. From a core php point of view, it needs this new feature, I never had the need of it while having done glue code as part of releases for quite some time. It introduce something radically different and not as simple as it may sound. I have doubt a about the gains given the costs. Let alone the total lack of flexibility, be for the support (pls try that patch) or customizing of the glue codes. Customizations can still be done but the upstream versions will always be loaded, whatever it does (and could prevent customization in some cases fe.) I also wonder why php needs that while any other similar languages have chosen to improve the packaging and default installation to drastically ease pkg made of native and scripts codes (see python or Perl for example). And a details but why it needs to be "bundled to be faster" but it is used for non performance critical parts? While this argument may switch to "easier to have all synced" :) Remains the other points I mentioned, what's about making user exposed classes&co from internal more friendly? What about the alternative solution? Default location etc? Or are we going to see again a RFC not taking of the Comments and go with a single option vote? (Just to prevent that to happen again) --001a1139b508737f5a050bfd2ade--