Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124341 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 10BB91A00B7 for ; Wed, 10 Jul 2024 11:09:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720609849; bh=92bnk3CA5m9KBiIt00bYiAQ7ebeO16LbSwTJ3mrwacA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fNUO2z7pEy4b5hF2zN9EvkrQNVJn7zC7KALyd5fzmSVLXRgJ3jmLAt+66ISSBQhn4 hU3HjVR2MsZ6/XqUk8FqL9Up7mHJLH2+eiEPk/9e+8/6ykZER2dPKk1/lTIJeA6Q5w IF3rFu5iGHEPuzZZzotKWiNYA6Tn6YMFsYrxAIl3Gd2+WTGleYJ4XuSBxmuULUUiJa 70MR27DZQhAHEDEJYarP4L2YQLR5rQprNTehNFv6SU64kbksUe77WDkbExhLb/JkUE FxV46CWDUTTMEBetU890maSYjsUNv4cRvY3UMoofIk36kEA65i/8Ln6cYMAGuOqDxr opRbJnRoTuX7w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C442318038B for ; Wed, 10 Jul 2024 11:10:48 +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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 ; Wed, 10 Jul 2024 11:10:48 +0000 (UTC) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-64e81cd12cdso6234177b3.0 for ; Wed, 10 Jul 2024 04:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20230601.gappssmtp.com; s=20230601; t=1720609762; x=1721214562; darn=lists.php.net; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lYsxAMvO1u4elh5yZqPvtsBDQKeMyqLlk6M6nBggJnE=; b=D9PGMuKtyvlErBO/tJ8BFzpZyBHASEZqTDlqwHjtTIKPqhApQMkXiOjuYanki3+O5g tENLoIgtCCzIzlMDUjrlALWrqL4Y/Tvfy8F2bE3T161E/7HxaNpQML/g/kxciYoabt4R /J82WGDBG+4DL47o3tJ0g2F13PigilyQB62O+s8hQazoyDAADn+H7vjtRc4LorLTHK3Q mDCYWioV90Rzf6v0vfGPQLd3kQ7vHpDxYIAdEFfCqKW/SOO6dylkksKakl6C/B0Yo9iN XJACR8AD4CRA+bZ5AI8z4LBzTlgLhSlC6e5TMtF6dfej5SEfeqJqu4qTNycVrsYsvVD2 qdrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720609762; x=1721214562; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lYsxAMvO1u4elh5yZqPvtsBDQKeMyqLlk6M6nBggJnE=; b=Hq3gaYD+25rAwzQghpXuwqFetpfvVA8UksuwGb3gbXki4QqdKe/WwNneCjnAH9H9C4 KtzUMfwSt2RxoUa+tBaZSqrI+eKmdiKBVLVHeL4QKH5c7keY2k7+eLKNdRbq198GcPIr Hvfv34BWzvEaIT5O34g9F4KPFH73jXNPvTkJ0o/R7IaDT3eJQLRyQDY+iblBlsh2dde9 6IJEF9V14mwAF8o3senPICu9JwkgiwH0/diy6PEXUrIkAMaC4NL/50NyJhNBZqoNXaGx H2SnkfAvT2vJ9mjaruTs51sWfVaalM6jArz10jKZrmqt9cziClV4Cr2cRGKBtB1fP+3e 4pAQ== X-Gm-Message-State: AOJu0YycREup57wilogZMhm6Qawc7LYszhiltmRx8UBFWXVQAolvollB 6JJIpVJ7SbYK+odnHPI2mPwxHDrnohu0YMpeCyT4CX/gPfi7Z20aKcPMZ5mgQJae4j7htoem9iG 8ejQ= X-Google-Smtp-Source: AGHT+IFX/Y5nY630RtjsJ6tm9Pgs6pjLK2Gm6PLzT8w3S0hdceD58XTYNJC5QKsvNpZiBusKq9LJYg== X-Received: by 2002:a0d:e8c6:0:b0:630:8515:f076 with SMTP id 00721157ae682-65917eafb55mr35888077b3.7.1720609761777; Wed, 10 Jul 2024 04:09:21 -0700 (PDT) Received: from smtpclient.apple (c-98-252-216-111.hsd1.ga.comcast.net. [98.252.216.111]) by smtp.gmail.com with ESMTPSA id 00721157ae682-658e4e226ddsm6864927b3.50.2024.07.10.04.09.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jul 2024 04:09:21 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: [PHP-DEV] [PHP-Dev] Versioned Packagers (Iteration IV) In-Reply-To: <1d0df8f2-541a-4302-a658-4d7d30003342@seld.be> Date: Wed, 10 Jul 2024 07:09:19 -0400 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <86B396B3-851D-425B-97AD-356304403A76@newclarity.net> References: <09559430-4477-4516-8D78-6F4071E1AA6C@newclarity.net> <0182F3D6-F464-477F-9029-A2D0A8B50C71@koalephant.com> <1AFD7AAE-8BEA-460D-88A8-15BB3D30A775@koalephant.com> <1BE6A849-A2A9-4E17-9C11-5099EF74F5C0@rwec.co.uk> <1d0df8f2-541a-4302-a658-4d7d30003342@seld.be> To: Jordi Boggiano X-Mailer: Apple Mail (2.3696.120.41.1.8) From: mike@newclarity.net (Mike Schinkel) > On Jul 10, 2024, at 5:50 AM, Jordi Boggiano = wrote: >=20 > On 2024-07-09 05:24, Mike Schinkel wrote: >>=20 >> =20 >> And this sentence is why I chose to reply to your message. That = assumption itself blocks the needs of user-managed apps. >>=20 >> (Did you happen to read my compare-and-contrast of user-managed vs. = developer-managed apps from a few days ago?) >>=20 >> I feel it is likely those who have never worked professionally in PHP = on user-managed apps like WordPress =E2=80=94 which I assume describes = you accurately? =E2=80=94 are probably just simply unaware of the = problems that your assumptions cause for user-managed apps. And yes, = some developers have no empathy for others who have different = circumstances, but I honestly don't think you (Rowan) are in the = category.=20 >>=20 > Just one note here: You keep saying user-managed apps but from what I = can tell, these problems really only apply to WordPress. There are numerous others, such as Joomla, Phalcon, CMS Made Simple, = TextPattern, OpenCart, ExpressionEngine and ProcessWire.=20 But yes, the fact that WordPress has well over 50% marketshare of CMS = and dwarfs all the others by well over an order of magnitude makes it = appear that it only really applies to WordPress. Which, given the number of users for each, it kinda does. But that also = begs the question if dismissing the PHP app with by-far the largest user = base is the smartest approach? > There are others like Contao CMS who decided as a project they wanted = user-managed plugins but also wanted to rely on Composer and its = ecosystem of packages, and they made it happen [1] I just scoured the Contao website and the websites of a few of their 3rd = party extensions and after quite a bit of detective work I found how = Contao allows user-managed plugins, per se. They did not make it = obvious on their site how to do it, though. First you have to download and install a `.phar file called Contao = Manager[1] and install it on your server. Which yeah, a developer could = do for an end-user, but most end-users are going to be blocked by this.=20= Second, to use Contao Manager you have to have a PHP installation that = allows using the functions proc_open()/proc_close() and = allow_url_fopen() which AFAIK most responsible web hosts lock down on a = shared server, which is the majority of WP hosting. The reason those are = required is Contao Manager is just using Composer on the backend via CLI = to install and manage plugins.=20 So while yes, Contao does allow users to manage plugins, that was not = what I meant when I made a distinction between user-managed and = developer-managed apps. To me, Contao is squarely in the = developer-managed app category. > So while I have some sympathy for all developers stuck maintaining WP = sites, and plugin authors not willing to do everything themselves and = deciding to bundle a vendor dir with Composer-installed dependencies.. = It feels like you're all kinda held hostage with the choices of the = WordPress project, which sucks for sure but saying it is unfixable is = not helping. How are you envisioning it be fixed? =20 If there are ways to fix things that do not require WordPress to make a = change with major BC breakage nor require users upgrade web hosts to = support dedicated features I would be very happy to find out what those = are. And yes, to concur by also clarify, developers are held hostage by the = *combined* choices of the WordPress and the PHP projects. It is kinda = like being a kid with needs but also with feuding parents. =C2=AF\_(=E3=83= =84)_/=C2=AF -Mike [1] https://docs.contao.org/manual/en/installation/contao-manager/