Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125763 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 2400B1A00BD for ; Mon, 7 Oct 2024 07:01:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1728284634; bh=j0WSmCTxSOOjaXbsp93Px+dycffMeFz734q4/EpwEYo=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Nroy2D0kSpwdPv7R3Yymy6z7zFsjn9aq8ssdsn7mPzScUJtIuhGryRCppAcnNubJN fck9D7IOKpRSdm+lO9/aXJaV0G56zCxeT/hzGSQovPUcfQ5qW7JuBeMbDDlQYAy4uw wDrQUaZ4RQYMT2ECT7jQsYtklvcDUSZVCYwJ2/VSDrprifjP385kfkmbyr2juw9Kok 5k3RuLg4yckGWlDcAW/5qzMIa/S72VvjZEuhCWf0osiYYQcKbOGdHDUK2Lu4MxEUpc 4YtV9qkRWYpl+2tFkrmhrqPFeLNgh4LlEFSO/HhtLcR0rb1Y1+at0QzoXkUtvybsM0 5/rtft3KIjcfw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0543718004D for ; Mon, 7 Oct 2024 07:03:54 +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,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,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-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) (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 ; Mon, 7 Oct 2024 07:03:53 +0000 (UTC) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-6e2e4d1c992so9228317b3.0 for ; Mon, 07 Oct 2024 00:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coggenterprises-com.20230601.gappssmtp.com; s=20230601; t=1728284497; x=1728889297; darn=lists.php.net; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=j0WSmCTxSOOjaXbsp93Px+dycffMeFz734q4/EpwEYo=; b=EcDiR+MyL8Hflp9uHOOvxxnDaDQ71bvamUMWhwStvirPtAXtar8ysqEqNB1Qxhgi9s yvGfN8DMTrGCTBKN4NJV9h8VqckQQ4RmTAUexUYXEyQ06GXX6FpOJ+2kGvuNUrzv3iwj bjHzH6OBh7UiSgi0J5isMDtNBVFbbpc4c8ZR8iaumxXPdCp+Up7rH0DUxyGCWD/ofpDg KmlOkwKkumoIoYsvC6stxz10oZc4eZVyLR1ejCQopFdzBgZp2GYePAjBsO3FGth4pXhx TlT8urDlISJNbxWJc2MfKSA8vfP9mcC2YY0BbDF6hG9jPZYaTExVodD9B5Vb5agBBGrb x+7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728284497; x=1728889297; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j0WSmCTxSOOjaXbsp93Px+dycffMeFz734q4/EpwEYo=; b=MRvkFwyzytP8poWPe7M8gt7o064B1qi/pYJRTdKqSAoXPLPFe/OXe+1ZWNMn/tl4NK eUpqg4QKvMWg2ZInLKMdsd7QS0lX64nCoppCzhAvHgaDEXbwmlpU2S1uWmU5JN1/D/oU i/1sTF238DYohIZfFNl5fEFBZEX9lCWkxk5om0XttxgMNzXxoZZHHCR6i4V4AFXA21V3 q1y+xteBNJR77QTA1K5qAW9CjIWSB5WsFzDVanJnAJATHmYEVnnjK8wrWsnTdkGws4Al qFeVOojTWix/BcQWb2VZfXQqoUNDuVIB77Hvg+RlEy8be+d8ZTMdUkCNc/+n7YyUgbL+ n7Vg== X-Gm-Message-State: AOJu0YxzJSHM5OwKMPFwYrxV+xdaabED+kJ2dABElJpw1zC4R5Zawx/A TgDFxyrha7bOctnDs9QY291EdAWNlus/yj/8g9sqoK/xDarHRxBYdXj2MGu9tZ8mhI3Ny2NhWZh dz0c= X-Google-Smtp-Source: AGHT+IEUOw7iYLL5iYQGLu63090f3TahQse9/nPZRabUZwUSlu0wrG9Z5CtDUx9n6VHluxI+RARPZw== X-Received: by 2002:a05:690c:6382:b0:64b:b7e:3313 with SMTP id 00721157ae682-6e2c7c3d563mr72787327b3.13.1728284496750; Mon, 07 Oct 2024 00:01:36 -0700 (PDT) Received: from Johns-MacBook-Pro-2.local ([129.222.87.188]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6e2d93e5ffasm9386257b3.110.2024.10.07.00.01.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Oct 2024 00:01:35 -0700 (PDT) Date: Mon, 7 Oct 2024 02:01:33 -0500 To: Larry Garfield Cc: php internals Message-ID: In-Reply-To: References: Subject: Re: [PHP-DEV] [RFC] Policy on 3rd party code X-Mailer: Mailspring Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="6703874d_327b23c6_14b51" From: john@coggeshall.org (John Coggeshall) --6703874d_327b23c6_14b51 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline > So banning "full" frameworks is my attempt at steering clear of the appearance of that kind of favoritism. Showing favoritism for Composer or Xdebug is, well, there's no competition to complain. PHPUnit is technically not the only testing framework on the market, but it has north of 90% share (and is used internally by some of the few others). But showing favoritism between Drupal, Wordpress, TYPO3, Concrete5, and Joomla gets a lot dicier. > I think we are overloading the word "framework" here. I would suggest something along the lines of the following definitions: A Web Application Platform: A fully-functional application written in PHP, often and perhaps exclusively with the purpose of building websites with little to no coding (excluding the notion of custom extensions or plugins to the application). A PHP Framework: A collection of libraries bundled together that, by themselves, are not a functional application but rather as a whole provide the scaffolding to build an application on top of via code. I personally can understand the argument against PHP proper seeming to endorse a Web Application Platform, but I think its entirely reasonable for PHP to internally use A PHP Framework if it happens to make the lives of people easier. Coogle --6703874d_327b23c6_14b51 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
So banning =22full=22 frameworks is my attempt at s= teering clear of the appearance of that kind of favoritism. Showing favor= itism for Composer or Xdebug is, well, there's no competition to complain= . PHPUnit is technically not the only testing framework on the market, bu= t it has north of 90% share (and is used internally by some of the few ot= hers). But showing favoritism between Drupal, Wordpress, TYPO3, Concrete5= , and Joomla gets a lot dicier.


I think we are overloading the word =22framework=22 here. I would sugges= t something along the lines of the following definitions:

A= Web Application Platform: A fully-functional application written in PHP,= often and perhaps exclusively with the purpose of building websites with= little to no coding (excluding the notion of custom extensions or plugin= s to the application).

A PHP =46ramework: A collection of l= ibraries bundled together that, by themselves, are not a functional appli= cation but rather as a whole provide the scaffolding to build an applicat= ion on top of via code.

I personally can understand the arg= ument against PHP proper seeming to endorse a Web Application Platform, b= ut I think its entirely reasonable for PHP to internally use A PHP =46ram= ework if it happens to make the lives of people easier.

Coo= gle
--6703874d_327b23c6_14b51--