Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125313 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 DE1DC1ADADC for ; Tue, 27 Aug 2024 11:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724759668; bh=ylq5pZ9aa1qgO3uZFqXnvrvvg5BPnSS9QcFPXP+kJqE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Tz3tLyT7MEaVesIPo3SiiBRQuTMfq4QyhuJdd+hb//vQfD6ATulQzelY6YXlNZH4Z LHLEFDHDBMApLZaXDCtQRcEgwOxkE1pAd16gRNsHpSpIadfRq5qR9YYic7YEBZ98Mn ribsiscH7rAQxEM+QI/L7i89imRpXZmlvWbf6luX+EEBeQ9JAXWN/iCqhbhnuD89VP ta5dZnfe2z1HF2Uy6PTBgmhGcOtFmbwkb3A+Vl+XVfJJ6Gmqjx5eMF0kAr8VjAAMS4 wCWbZBVKpMj1ioVLhjjFu7hz2ZKr2i+NdGakSy27emFx4MjGIoSh5Gr9lbwq7CFJ15 4gs11IDjZXSBg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B90B418004A for ; Tue, 27 Aug 2024 11:54:24 +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,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 11:54:22 +0000 (UTC) Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-6bcde7538a2so4280647b3.3 for ; Tue, 27 Aug 2024 04:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724759548; x=1725364348; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ylq5pZ9aa1qgO3uZFqXnvrvvg5BPnSS9QcFPXP+kJqE=; b=MND8sEnU5+OKDPFKJrpWD4KmMvjWD53L9MNp6l/oUISKzb+6BctG90nRnQLvZOrU4A 0sclSY5r7kYrdXFM+6L0ckrgpTEmEkaFozZbIwUH/shuFs8hVTf5R+7z4/u5Op1waES7 X1H8gF7WnpmUlPx5mV6RtLHEnpSZAB9dZOjd2X43eKOo4TZaaaO0GOcFrHgCRXCWZFeO eUJNnwzu400u18nAmWREQDSfAq/YtmwkK9sOozuYv9b0yQtmuj9P6Aiag8hMafJMok/i pIvmq4T0iVrtYuMRThKvwqwJBD55dU4f5Ii/R70KqW8OwWJ2Jo3IesewPLrYSlh9r8+2 IiAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724759548; x=1725364348; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ylq5pZ9aa1qgO3uZFqXnvrvvg5BPnSS9QcFPXP+kJqE=; b=FYFF/ReBLN8jbbDXygJmuOQ5k3CCmd1RqhCqzEi4KcFRX2bsrK/Qie90wcbRycmzQd vn+ngrsD08hVE1Zw42htj78TN2nhSO62GXx7hj+s76JA24CTvXjZc8z+KuN1Eg8INO7t 6T3Km5hr585JRE5X/cfusL76eJj4lDG7puLxUuTggrcBQFhWgJIzBNJpfCzjSzJ994Sg D87w3nPy9dTbmyUq1RqwOvHSI5Aq525HabZLfOOM5cDcN9+tvK7y3JQ0xCVXzBjCwszg XbagsZJR1JyPYT0XlnCCkXu8vDVEVTzLl6IFL9TV2o9b0obT5t4CYz4IHZ+jz0E3REot 83NA== X-Gm-Message-State: AOJu0YxbIDiNQ60iYZQmvY704kzJ5SOtdSZXzIXcRqpT7/aPD+piQeVE 1eqDYLwLa0Pk88rwCFdbfAMuPFs6rdwxXhBoKs8akhtYTuzoofZme3GrBHZ7H3aPyZi+gEW2ON9 /pB1qMWP/u538tlsDvUyolwUti04WZQoG X-Google-Smtp-Source: AGHT+IGGbKoNMp/alcApuvYTMrd67bTKEdjVQwTbfu5JT8y7ZHCOGb2KL/QaBQgGQWcfZj8q6qwv9+3C2HnQIn3OQb4= X-Received: by 2002:a05:690c:102:b0:695:e4b0:10ce with SMTP id 00721157ae682-6c629dda7bfmr57238617b3.7.1724759548249; Tue, 27 Aug 2024 04:52:28 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <642cb3ea-bf51-4832-8539-0540742000e1@app.fastmail.com> <2c2f13b5-9cad-4bcc-b59f-01693e494bb3@heigl.org> In-Reply-To: <2c2f13b5-9cad-4bcc-b59f-01693e494bb3@heigl.org> Date: Tue, 27 Aug 2024 08:51:52 -0300 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects To: Andreas Heigl Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000324dfc0620a8e0a0" From: deleugyn@gmail.com (Deleu) --000000000000324dfc0620a8e0a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 27, 2024 at 2:06=E2=80=AFAM Andreas Heigl w= rote: > > 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. I like the fact this has been brought up as it seems an equally important consideration from my perspective. On one hand I remember reading about how PHP Internals could hugely benefit from more volunteers to help maintain the auxiliary projects of the language - which doesn't require C knowledge. Perhaps this 'need' might be outdated now with the Foundation hiring employees to work on PHP. On the other hand there's this really good point about not creating a burden for existing maintainers of existing tools. Ultimately, I find it important to consider that a tool that has been "mostly no maintenance cost" for 10~20 years, then it might be following PHP development practices so long gone that it's harder to capture new volunteers. I understand there's a historical context in the 2000's where PHP frameworks would come and go and most companies had their own in-house framework. That reality is long-gone and community projects like Symfony, Laravel and Composer are sustainable businesses that simultaneously rely on PHP and make PHP better. Nowadays it is unlikely that a PHP developer will pick up greenfield work with the language without using some reliable tool provided by the community. As it has been said, it is a disservice to the PHP project to be stuck on vanilla PHP for things that require improvements, maintainers, revamp, etc. --=20 Marco Deleu --000000000000324dfc0620a8e0a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Aug 27, 2024 at 2:06=E2=80=AF= AM Andreas Heigl <andreas@heigl.org= > wrote:
=
I see this a bid differently to be honest. While I understand that usin= g
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 <= br> 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.

I like the fact this has been brought up as i= t seems an equally important consideration from my perspective. On one hand= I remember reading about how PHP Internals could hugely benefit from more = volunteers to help maintain the auxiliary projects of the language - which = doesn't require C knowledge. Perhaps this 'need' might be outda= ted now with the Foundation hiring employees to work on PHP. On the other h= and there's this really good point about not creating a burden for exis= ting maintainers of existing tools. Ultimately, I find it important to cons= ider that a tool that has been "mostly no maintenance cost" for 1= 0~20 years, then it might be following PHP development practices so long go= ne that it's harder to capture new volunteers. I understand there's= a historical context in the 2000's where PHP frameworks would come and= go and most companies had their own in-house framework. That reality is lo= ng-gone and community projects like Symfony, Laravel and Composer are susta= inable businesses that simultaneously rely on PHP and make PHP better. Nowa= days it is unlikely that a PHP developer will pick up greenfield work with = the language without using some reliable tool provided by the community.=C2= =A0

As it has been said, it is a disservice to the PHP p= roject to be stuck on vanilla PHP for things that require improvements, mai= ntainers, revamp, etc.

--
Marco Deleu
<= /div>
--000000000000324dfc0620a8e0a0--