Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125335 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 43AE51A00BD for ; Wed, 28 Aug 2024 08:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724832189; bh=Li60Fyiw9CLH4DP3SsewP1aZ+/n7PtbI7wiIzMhXx9M=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=jiDXrR2j8aO4jdxrmId6jSRtIowTQabFpFYY8ORfJ29Fq6Xt3vHCJv/c/r04YtU2G hW15ezreUO2spM0GU3s/pnRz1Zt50ersP5AG/q5cD2LSvBRXNgniF6lUhrWEnFK3yY NewGqJ0Fpm+rVOeagoFtdg3QAAT4ChSse3gva8AIP7xQlzBzRYHIbZv1NNEgXQOVMd BmhAjmE5NTu5BrNPiginK1EnXZI7H5hKnWywuymmLWifpxJyqLgFHSwC2FPTDlIrC7 5ShuchYjEXipJNLfcjzv+jnehIMXiVkIp7Z809YSwcOS2I4j3LeUvdpMVX4X3OA5zL FeouE3aaLihtw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E69E8180054 for ; Wed, 28 Aug 2024 08:03:08 +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,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (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, 28 Aug 2024 08:03:08 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 5865D13900AB; Wed, 28 Aug 2024 04:01:14 -0400 (EDT) Received: from phl-imap-09 ([10.202.2.99]) by phl-compute-03.internal (MEProxy); Wed, 28 Aug 2024 04:01:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc: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=fm2; t=1724832074; x= 1724918474; bh=Li60Fyiw9CLH4DP3SsewP1aZ+/n7PtbI7wiIzMhXx9M=; b=p IG+LyfcoTVUJpZMl2gwzrsereh51UOihX9JxU5ePnGy5RBTF4Eb4o2MhndFuRNLq rwfkPx69e4VeGFcmYsP/jKMLaW7Bgo2MHDEPGBkfZ7uyaptt4NW4VRXMCc+E/Mw2 X6zPrRRP+d4jXVPMg1cUT50uEXgikyBdpmiyxmlSnjrGcmtALAmmcFWEQuzsc+Xr P14+MacWihjlDXsETwSyvTtrIsO59k0z9cS1oObsoKew4K75+H8Cd1Ei9aOCCizl 0bVXg1ByGEmeeT6PIY0b5gkozwOyzoTldek4ua0CWfRdPB7fLUOrqBaZMW64d6CX JGMUv1fgsH5dvq6+cfoDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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= fm1; t=1724832074; x=1724918474; bh=Li60Fyiw9CLH4DP3SsewP1aZ+/n7 PtbI7wiIzMhXx9M=; b=AK4/F2V1PdxqD4CP1yAE7rjhhRtIGa+qBfcdTdkj5PRA OfLP8VZy/+sdbkCvXq9nKSVNqQ+YZDVZ7H28mjOyq/+JbEwf3eei6HEV5g++aQ9I 7g6kpUv7bK0ufXEhnfzoJ6Qb+J66XH8rteVGp9+YO2dCFTCxbL2eoRu7qgK20yAI gqQ1r/3ZO/VxrEdjHcdJuT9WlSBPS4/voOK5cDWnAlF0blpaxux0QtbvnRIoHEOv mwaxBQAc5WukxX3OIRnHqKN3hnKkHCsC3q2lSragp6WojLs44DOqkwumy6hyjWj/ 0XStsjeXP4VQf71oG01U22YpF9/cnrYpMYcpphfSsQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefuddguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtsegrtderreertdej necuhfhrohhmpedftfhosgcunfgrnhguvghrshdfuceorhhosgessghothhtlhgvugdrtg houggvsheqnecuggftrfgrthhtvghrnhepteefffegvdduleegkedvuedvhfeifffggfdv udejieektdeltdfgkeevfeeggfefnecuffhomhgrihhnpehphhhprdhnvghtpdhgihhthh husgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehrohgssegsohhtthhlvggurdgtohguvghspdhnsggprhgtphhtthhopeehpdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopehjohhhnhestghoghhgvghshhgrlhhlrdho rhhgpdhrtghpthhtohepsghosgifvghileeshhhothhmrghilhdrtghomhdprhgtphhtth hopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvghtpdhrtghpthhtohepuggv rhhitghksehphhhprdhnvghtpdhrtghpthhtohepjhhimhifsehtrhgrihhnvggumhhonh hkvgihrdgtohhm X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6711D780065; Wed, 28 Aug 2024 04:01:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 28 Aug 2024 10:00:38 +0200 To: "John Coggeshall" , "Derick Rethans" Cc: "Bob Weinand" , "Jim Winstead" , "internals@lists.php.net" Message-ID: <66e68232-9655-43b2-b4e1-18b62856193b@app.fastmail.com> In-Reply-To: <6B084580-CEFA-45A3-8221-944B9502B745@getmailspring.com> References: <663bea3c-a8e7-4881-2bcb-971a96dea9cb@php.net> <6B084580-CEFA-45A3-8221-944B9502B745@getmailspring.com> Subject: Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects Content-Type: multipart/alternative; boundary=ecd8942a42ac4623a6206ec8aa28cf68 From: rob@bottled.codes ("Rob Landers") --ecd8942a42ac4623a6206ec8aa28cf68 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Aug 28, 2024, at 09:51, John Coggeshall wrote: >=20 >> And that is how you will find that the "new" languages will "win". If= we >> don't promote how modern PHP Development works, then there will be mo= re >> "PHP, a fractal of bad design" articles to come for decades. >>=20 >> We *must* do better than this. It probably doesn't all need to be in = the >> documentation (doc-en), but it absolutely belongs on our website. >=20 > Hear Hear Derick!! >=20 > I am not advocating that php.net put its finger on the scale in favor = of Laravel over others with this comment, but why php.net does not have = a documentation analog similar to how Laravel's documentation is set up = is beyond me. Useful installation instructions, sections on "How do I do= database stuff", "Security", "Filtering Data", "Installing third party = packages" etc... there are too many people who have embedded in their br= ains that PHP is a badly designed language because we don't teach or eve= n advertise to people how to write good PHP code... as others have menti= oned as an example, the lack of even a mention of composer on php.net is= mind-blowing. >=20 > As Derick said, back 20+ years ago PHP had amazing documentation for t= he times -- miles ahead IMO than most open source projects. But the worl= d has moved on, developers want and need higher level documentation that= is more opinionated on not just the dry APIs available you might use to= connect to a database (for example), but how to properly connect to a d= atabase. Back 20 years ago we had companies like Zend around who devoted= considerable resources to filling that gap for the community (along wit= h O'Reilly, etc.) but those entities are gone now and it is up to the pr= oject to pick up the slack. >=20 > I also think it's a mistake to get too caught up with the concept of "= endorsements" and people worrying that "oh gosh if php.net talks about L= aravel and Zend Framework then that means something bad for XYZ framewor= k" (pick your favoriate techs here). It's easily solved by having a sect= ion on "Popular PHP Frameworks" that explains the concept that PHP as a = language doesn't embrace any particular framework, the importance that y= ou do generally want to embrace a framework to do anything serious, and = provide a list of popular ones that people commonly turn to when buildin= g their apps. As for using a framework or any other PHP-related tech in = the project's codebases... I think we're grossly overestimating how much= weight that decision would carry with the PHP community at large. Short= of the PHP Project stating "X is the official framework of PHP" (and es= pecially if we say "We don't have an official framework but here are goo= d options that are very popular" instead), the concern over the appearan= ce of endorsements at this point is really an invented issue rooted at l= east in part by historic concerns that simply don't exist anymore. >=20 > Coogle I agree with this to a point. What if I want my newish framework listed = on the page? What are the qualifications for being listed (or unlisted) = there? Can anyone add their own framework? If anyone can add something to the list, then it eventually will become = as overwhelming as https://github.com/uhub/awesome-php and if there are = strict qualification requirements, the list needs to be reviewed periodi= cally to remove projects that no longer meet those criteria. =E2=80=94 Rob --ecd8942a42ac4623a6206ec8aa28cf68 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Wed, Aug 28,= 2024, at 09:51, John Coggeshall wrote:

And that is= how you will find that the "new" languages will "win". If we
<= div>don't promote how modern PHP Development works, then there will be m= ore
"PHP, a fractal of bad design" articles to come for de= cades.

We *must* do better than this. It pr= obably doesn't all need to be in the
documentation (doc-en= ), but it absolutely belongs on our website.

Hear Hear Derick!!

I am not advocating that = php.net put its finger on the scale in favor of Laravel over ot= hers with this comment, but why php.net does not have a documentation analog similar to ho= w Laravel's documentation is set up is beyond me. Useful installation in= structions, sections on "How do I do database stuff", "Security", "Filte= ring Data", "Installing third party packages" etc... there are too many = people who have embedded in their brains that PHP is a badly designed la= nguage because we don't teach or even advertise to people how to write g= ood PHP code... as others have mentioned as an example, the lack of even= a mention of composer on p= hp.net is mind-blowing.

As Derick = said, back 20+ years ago PHP had amazing documentation for the times -- = miles ahead IMO than most open source projects. But the world has moved = on, developers want and need higher level documentation that is more opi= nionated on not just the dry APIs available you might use to connect to = a database (for example), but how to properly connect to a database. Bac= k 20 years ago we had companies like Zend around who devoted considerabl= e resources to filling that gap for the community (along with O'Reilly, = etc.) but those entities are gone now and it is up to the project to pic= k up the slack.

I also think it's a mistake= to get too caught up with the concept of "endorsements" and people worr= ying that "oh gosh if php.n= et talks about Laravel and Zend Framework then that means somet= hing bad for XYZ framework" (pick your favoriate techs here). It's easil= y solved by having a section on "Popular PHP Frameworks" that explains t= he concept that PHP as a language doesn't embrace any particular framewo= rk, the importance that you do generally want to embrace a framework to = do anything serious, and provide a list of popular ones that people comm= only turn to when building their apps. As for using a framework or any o= ther PHP-related tech in the project's codebases... I think we're grossl= y overestimating how much weight that decision would carry with the PHP = community at large. Short of the PHP Project stating "X is the official = framework of PHP" (and especially if we say "We don't have an official f= ramework but here are good options that are very popular" instead), the = concern over the appearance of endorsements at this point is really an i= nvented issue rooted at least in part by historic concerns that simply d= on't exist anymore.

Coogle
<= /blockquote>

I agree with this to a point. What if I = want my newish framework listed on the page? What are the qualifications= for being listed (or unlisted) there? Can anyone add their own framewor= k?

If anyone can add something to the list,= then it eventually will become as overwhelming as https://github.com/uhub/awesome-php&= nbsp;and if there are strict qualification requirements, the list needs = to be reviewed periodically to remove projects that no longer meet those= criteria.

=E2=80=94 Ro= b
--ecd8942a42ac4623a6206ec8aa28cf68--