Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124204 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 1C9651A009C for <internals@lists.php.net>; Wed, 3 Jul 2024 17:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720027525; bh=A1pCVyvD3YmboM8PNWNAyYVH1o/wo7aowExNENeLEWk=; h=In-Reply-To:References:Date:From:To:Subject:From; b=noL5g0cz2BON6CYJ1GF0H2/oOYKmII5tym9c2dKMGHdHe4VUVMPHR4iCfA5VQUNP+ b/Idg0BW4uzSelfzuMryBGKmzP6hSjwsiVTrvHDvS7HCYUR2dDGvUpvkawE8Q9Segt +Iwt0sblCskoHxzvLK6ZwsIoqj2s4vQzfdop4GWqqI74G4ccydyUjgm4uVAoFP21JL ImJwTksBtrvQPn5ALqUG7nXrFaQRLChe1HvodxOShIZoxVG+pJwiiIw8liYU38+Ze4 GqLmYo+LyZiygMoyxDNUoLDXTHh3gFniQwiR86Hs3yQz5lesYjr4V4rp6I3x1fBLkE xfACh0rgBgXeA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F23A4180889 for <internals@lists.php.net>; Wed, 3 Jul 2024 17:25:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: <rob@bottled.codes> Received: from fout2-smtp.messagingengine.com (fout2-smtp.messagingengine.com [103.168.172.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for <internals@lists.php.net>; Wed, 3 Jul 2024 17:25:19 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 213CB1380234 for <internals@lists.php.net>; Wed, 3 Jul 2024 13:23:57 -0400 (EDT) Received: from imap49 ([10.202.2.99]) by compute1.internal (MEProxy); Wed, 03 Jul 2024 13:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1720027437; x=1720113837; bh=TMKHKrvi9x BDuTawSxiGPn1UDpnE58tf/yOdnyYmGJ0=; b=R9PDaTsNaxXao0VZSUMpw2IhY5 zQHDV8LR4npGe9e+Bv4A3C1tCvx2YVGJ2eQUo/DRJSYUkfB6duSFS/SABk9dHsls /muKS3JSLNTSe4QHLPA2RxU+z4vppwblVXsaqHF0Djn4/ljG6dYD836oby8foJbt 9b6X2Cc7oKaq0WSK/Jhfz1VUs7equlmxliGpLVx4qgDSmA9cd8xaOAdEsO+hD5GO 0G/ury56GqroMlt0aYkXCLhd7mGUmiESBhDTpDYrTMLTAiivZJbVwRpAiyBWWVDW NgdYl2SGhGmVt/iBNuNN2IgVIYD6WcCKcGM0tCJmacab2JJaNl+ryYYXc3Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1720027437; x=1720113837; bh=TMKHKrvi9xBDuTawSxiGPn1UDpnE 58tf/yOdnyYmGJ0=; b=FFrC5fqJ8AFkNnElLosiAr5xDRPbcL/czLicIfHkh8yI HE7SV0qgX7QLDmu3rgtp6di7AGN7NT5CRSCq2aUW2C7wkcV2R/57+9jUV95EKJi+ mu8Sj6FkCC0W5gQEQgYyUdMvaR3DHhKLhDwOHYeZ1wqleTTFrMifCuJX1ADAAFig 4Hp/eK6osjGWfP/cpbKYVtwtJsKG05TuWeC/FR84J5e8Z6VwavrUiq5YayDgaRf+ K8TS/MkXwdd1jo9C9QWi3JTRiOFUHDJZ/onkgNlzk/ePSVjDtploHmKlGgitwiwI mcEigfmgst2KKvYskrl9jHrlbT3Wyx1Mvs+u39uOKw== X-ME-Sender: <xms:LImFZsRP7q3bxYbB9CIpA4fR8pJ42IVnduRSgYn7vbfNB0MsJcE_lg> <xme:LImFZpwqyPK3dJoAUUwUQez4KDd_GBSqLsFJyJ5Ii0EVut65HV126x1c9oNcKg0mi w1JNDe9NMIY-TtKnlM> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudejgdduudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedftfhosgcunfgrnhguvghrshdfuceorhhosgessghothht lhgvugdrtghouggvsheqnecuggftrfgrthhtvghrnhepfeefudfhudduieekkedugffhud fgleejgfekgefhvdeikeelvddvjeehteegteegnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheprhhosgessghothhtlhgvugdrtghouggvsh X-ME-Proxy: <xmx:LImFZp2ksrxEQVO8LS6coz6UqYiPjwJTgEBNUyf9NQZQi4ZLF1NtEg> <xmx:LImFZgCRlAPTMB6VrFMJt6aEU-10Oys80ISkAr7mqXfJgBEa2e7HNA> <xmx:LImFZliBy-gvD9sofIcbcLnbl_5eL9gJzuri9zNyq116Jj7b6woTfQ> <xmx:LImFZsq-4QLWqv7OlFsO7YIVrGMQOl0sWeDhrDa_7pYn94CLWVoUEA> <xmx:LYmFZlLYQr0xNrhcWhaverBmPHkZN3_5Ujtb30jiLX4BwTj-HuipOVfn> Feedback-ID: ifab94697:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 87C1615A0092; Wed, 3 Jul 2024 13:23:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-566-g3812ddbbc-fm-20240627.001-g3812ddbb Precedence: bulk list-help: <mailto:internals+help@lists.php.net list-unsubscribe: <mailto:internals+unsubscribe@lists.php.net> list-post: <mailto:internals@lists.php.net> List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: <e42cd46b-d98b-4567-a854-03ca54d4dbcf@app.fastmail.com> In-Reply-To: <CAEUnE0dObGkb+jUZrVhNRg0JHaM5Kt9d93k3p_0D=jX7kxmYAg@mail.gmail.com> References: <09559430-4477-4516-8D78-6F4071E1AA6C@newclarity.net> <0182F3D6-F464-477F-9029-A2D0A8B50C71@koalephant.com> <GV1PR01MB10526D0B220ED0AC9D1C17473C2DD2@GV1PR01MB10526.eurprd01.prod.exchangelabs.com> <1AFD7AAE-8BEA-460D-88A8-15BB3D30A775@koalephant.com> <CAJp_myXHSHD6+76gyOs=d+cfVgwCmpuhKMtYcVBM6b-i3Bf0WQ@mail.gmail.com> <CAEUnE0dObGkb+jUZrVhNRg0JHaM5Kt9d93k3p_0D=jX7kxmYAg@mail.gmail.com> Date: Wed, 03 Jul 2024 19:23:34 +0200 To: internals@lists.php.net Subject: Re: [PHP-DEV] Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript) Content-Type: multipart/alternative; boundary=22ead1c3eeb34b67a516ac4fa646e850 From: rob@bottled.codes ("Rob Landers") --22ead1c3eeb34b67a516ac4fa646e850 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Jul 3, 2024, at 19:15, Michael Morris wrote: >=20 >=20 > On Wed, Jul 3, 2024 at 12:52=E2=80=AFPM Matthew Weier O'Phinney <mweie= rophinney@gmail.com> wrote: >>=20 >>=20 >> I'm following the packaging threads closely, and the one thing I've f= ailed to see a solid argument for is _what problems_ the current approac= h of using namespaced code doesn't address. >=20 > Running multiple versions of the same code. Say you're writing an ext= ension for Drupal and you want to use a nifty new feature of the newly r= eleased Twig 4. Under the current system you're outta luck until the Dr= upal project moves to 4, and that might take awhile, ESPECIALLY if 4 has= BC breaks. So, if v4 has BC breaks ... how would Drupal not crash? If you allow mul= tiple versions, how would you use both versions? I'm not even sure that = is a logical possibility. =E2=80=94 Rob --22ead1c3eeb34b67a516ac4fa646e850 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso= Normal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>= <br></div><div>On Wed, Jul 3, 2024, at 19:15, Michael Morris wrote:<br><= /div><blockquote type=3D"cite" id=3D"qt" style=3D""><div dir=3D"ltr"><di= v dir=3D"ltr"><br></div><div><br></div><div class=3D"qt-gmail_quote"><di= v dir=3D"ltr" class=3D"qt-gmail_attr">On Wed, Jul 3, 2024 at 12:52=E2=80= =AFPM Matthew Weier O'Phinney <<a href=3D"mailto:mweierophinney@gmail= .com">mweierophinney@gmail.com</a>> wrote:<br></div><blockquote class= =3D"qt-gmail_quote" style=3D"margin-top:0px;margin-right:0px;margin-bott= om:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;b= order-left-color:rgb(204, 204, 204);padding-left:1ex;"><div dir=3D"ltr">= <div dir=3D"ltr"><br></div><div><br></div><div>I'm following the packagi= ng threads closely, and the one thing I've failed to see a solid argumen= t for is _what problems_ the current approach of using namespaced code d= oesn't address.<br></div></div></blockquote><div><br></div><div>Running = multiple versions of the same code. Say you're writing an extensio= n for Drupal and you want to use a nifty new feature of the newly releas= ed Twig 4. Under the current system you're outta luck until the Dr= upal project moves to 4, and that might take awhile, ESPECIALLY if 4 has= BC breaks.<br></div></div></div></blockquote><div><br></div><div>So, if= v4 has BC breaks ... how would Drupal not crash? If you allow multiple = versions, how would you use both versions? I'm not even sure that is a l= ogical possibility.<br></div><div><br></div><div id=3D"sig121229152">=E2= =80=94 Rob<br></div></body></html> --22ead1c3eeb34b67a516ac4fa646e850--