Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125303 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 F1AF51A00BD for ; Tue, 27 Aug 2024 05:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724735107; bh=hq2UucLgl2zhPzMOLR9tIwJ1MFv1w4LGfIquonbbECQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=U05ZgKw73BPwfJIO+tjBosbYAv/02WqSe9duJ2cn8bH2GupcqeZrJ+L6IT9R6Ol67 AQYua5q3A4j4NzeTf1M7SzGEaHdDFwEaP/NhcYC08pVH7BY8g4RP6DCYEtbdPcjHs3 4ftqlyR4SbxjXPgEeqCY0a1AoKy612+1kLMVb5A66ZqX3dvQnQNB8J9hiyj3/zkoCl YC+r/Bb96O/IrGvtP1fWUVjXAsrMNPx3p6Z+6EGHZHkUA0geEoE/MeaBHHrF627KX4 L1235gohkSZcjaJWHL6dVNKM8DqumXVh0QY0BHN2AWG6meHsYDtUDashR6PWPB+wXG tEXOqmmOTfr6A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1AB9018006F for ; Tue, 27 Aug 2024 05:05:06 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail.stella-maris.solutions (mail.stella-maris.solutions [46.101.232.159]) (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 ; Tue, 27 Aug 2024 05:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=heigl.org; s=mail; t=1724734990; bh=hq2UucLgl2zhPzMOLR9tIwJ1MFv1w4LGfIquonbbECQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=G1G8SuhPIoczLc3VDYUY/hyjMfmYWEMA9wKvB1a/em0d3UsrwZzT4kIYDmiTwS9j6 ePVmIK45uBUuSQJ3Od0AV1kqN1/tdJB6Mz5LxAG93KaiuL82mZF858cMts42KJcZBP lDp7v/iL8BD/Ur9zBkcpJ6lG7tmmSCR8XxDD54QcVSIDFV2HOwMoqZRJaVuv3TAy6z h/VYLxbOZUPjSfi+bq5Zx9hticuzvoEciVyy84e2vRhI+h4AQ2zLZTeoUyE7oVXS/w QNP9WYsjKfuC9ThoE7suQ9h5b17d1AFhAZxkKR2kpVKOWZnpkXcPqxc4VGI0A8r+lf oZyQsxu7dozyw== Received: from [192.168.1.119] (heigl.gw.tgnet.de [80.72.250.242]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.stella-maris.solutions (Postfix) with ESMTPSA id DE78C7E001 for ; Tue, 27 Aug 2024 05:03:10 +0000 (UTC) Message-ID: <2c2f13b5-9cad-4bcc-b59f-01693e494bb3@heigl.org> Date: Tue, 27 Aug 2024 07:03:10 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects To: internals@lists.php.net References: <642cb3ea-bf51-4832-8539-0540742000e1@app.fastmail.com> Autocrypt: addr=andreas@heigl.org; keydata= xsFNBFzEA7MBEACpvo0AbmZG6lUGMvDUebQcYVjO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iyl52NgM2PH pm98XP8AEQEAAcLBdgQYAQoAIBYhBFnu0GaGtc0AdpRwDajVQ37Ock/lBQJcxAW4AhsMAAoJ EKjVQ37Ock/ly/cP/1SSqtqsRsUtSBkmmqMHJ3okcfPGXwU85LWpIW6l4Z1hcD/b7k2h3Es0 aMBSFc3mueZP+ZkHirk0xLe5NGG9vZcKE/oqotdlf+9xASGlCviU+WT9vG50F5JKqqUc3K6O JQ84uYHmpreyjLFg5mKgh8l1NsV3gC56ny79Y37CSTHqA8y5fKpedKptc/rveFTl3/eHZapl fb+kFqMcMNpNsTVgQHlA9mM1FwGZ3KV2witTCERQR5m4OBwGqZqRVHsD37DuD6VBCahtSAOq 5fXLGZ3PewbwgoWukmTL1xqxCIv2ozXw9JlNqdyMuRdVFzcfciZTM4kL6lM4gOzElqJU9mWK /7p0q3JF1Ie5QMBOLavEYYV2dnIy/ubm5P8RhQScnJ/mCqE+YJmfoMBq5bjdFSRaIH6WNkSW xfI/FW1EfrxisZbrIMngu7hBQKFbCFCRUN0Gj7RppyGYD9yks+x7GZAMIlxyeT+sKR9wljLu CWjkJTjKNDT8UWTr7XwJHQ2/ouI3fmI77iZCZbq9aesobv9NnBO/waAzjYAEx2ahZmM7m1rQ lPS636tUZ1QVZx/4SzNiMTBsgWLDQ0VtxcEmYe54+r8Y4o0vSrMcDYgBczZe/ASpSJB4AI1l Q3o3s5p3AeYsYPBtBsysSAbd0uZ65EDc9xwSRLiMJj+x8jGy2xtu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: andreas@heigl.org (Andreas Heigl) Hey all Am 26.08.24 um 20:06 schrieb Bob Weinand: > Hey Jim, > > On 26.8.2024 19:44:18, Jim Winstead wrote: >> Hi, >> >> Another RFC around process: >> https://wiki.php.net/rfc/web-and-doc-use-not-endorsement >> >> Feedback would be appreciated. My intention is to start voting on >> September 9th unless there is still ongoing discussion. >> >> Thanks. >> >> Jim > > > Thanks for bringing this up - I also suggest that we make this a binary > choice - either we adopt the proposed language or its opposite. > > I.e. a rejection of this should codify that statement in the negative. > > > I do in particular reject the notion that we should document third-party > projects (usage for our infra is fine). I see this a bid differently to be honest. While I understand that using third party packages in our internal tools might make things easier in the short term it will cause a lot or additional work in the long term. Currently we have a lot of small scripts that do one thing. And they do it for a long time with very little maintenance effort. Blowing these scripts up with third-party libraries will mean that we will have to put in much more maintenance effort for either keeping the dependencies up to date or mostly rewriting the script the moment a change needs to happen as the libraries will be outdated. There are though some actual console applications like Pdt where it might be valid to use third party dependencies. But also here I'd ask whether the maintainability will be increased. A totally different question though is whether we actually need to maintain a special tool for building the docs or whether we can use a pre-existing tool for that. I am mainly thinking about either phpDocumentor or a default docbook renderer. But that is a totally differnt topic IMO. So I'd see this exactly the other way around: usage for infra needs very careful consideration to not increase the maintenance-burden on those that actually 'do' the maintenance. But mentioning - and encouraging - best practices for developing PHP-Applications is something that the PHP-Project should actively provide. > > The point of the PHP documentation is to describe the PHP runtime and > PECL extensions, which are both officially distributed through php.net. > > Anything not related to these does not belong into the manual, much less > into core documentation (like language/oop5 autoload.xml, to take the > example from https://github.com/php/doc-en/pull/3677/files). > > > Changing this current unwritten rule is an invitation to implicitly > promote specific projects. The question is really where does it end? > Would we for example also mention PSRs as "widely followed guidelines > for interoperability" or something? It's a strong invitation for some > scope creep. > > As such I strongly condemn the idea of inclusion of this guideline. > > > There are, ultimately, enough ways for people to learn about the PHP > ecosystem, the php.net documentation is none of them. If I go to > php.net, it's because I want to learn about the runtime, not its ecosystem. If I go to PHP.net, I want to learn about PHP. As an end user I don't really care whether it's the runtime internals or the ecosystem. It is a manual for PHP. And as such it should provide me with what we consider Best Practices. My 0.02€ from having done some maintenance on php.net. Cheers Andreas -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | https://andreas.heigl.org | +---------------------------------------------------------------------+ | https://hei.gl/appointmentwithandreas | +---------------------------------------------------------------------+ | GPG-Key: https://hei.gl/keyandreasheiglorg | +---------------------------------------------------------------------+