🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.infosystems.www.authoring.html
Article #40

Re: common main menu ?

#40
From: Lawrence D’Oliveiro
Date: Wed, 14 Oct 2026 23:26
40 lines
3721 bytes
On Fri, 25 Sep 2026 10:01:47 +0200, Arno Welzel wrote:

> <https://reactphp.org>

I wonder how you incorporate that in a web app running under that
PHP-FPM that you’re so fond of? Does it run an event loop per page? So
the user requests a page, it runs an event loop to service requests,
then that has to quit before the page can return its response?

> <https://symfony.com/doc/current/scheduler.html>
> <https://symfony.com/doc/current/messenger.html>

So how’s their WebSocket support going?

<https://symfony.com/doc/current/mercure.html>

> <https://github.com/Crowdstar/background-processing>

Quotes:

    “This package allows continuing processing PHP after having HTTP
    response sent back to the client under PHP-FPM.”

So it still needs some random external user action to kick it off --
exactly the sort of thing we were trying to avoid. And:

    “This package is for PHP-FPM only. Don't try to run it under CLI,
    PHP built-in web server, mod_php or FastCGI since it won't work.”

I wonder how that works, since PHP-FPM *is*, after all, built on FastCGI.

> <https://adamadam.blog/2025/03/18/running-php-code-after-closing-the-http-connection/>

So it still needs some random external user action to kick it off --
exactly the sort of thing we were trying to avoid.

> And of course you can run PHP scripts as systemd unit as well.

I’m sure you consider that a big deal, but I don’t see how it actually
addresses the issues we’ve been discussing.
Technical Details
Message-ID: <11ap32j$1tsnt$5@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10vaufi$3saf7$1@dont-email.me> <1117bj8$eu2d$1@dont-email.me> <111gdri$2v442$3@dont-email.me> <111hmik$3c48t$3@dont-email.me> <111k9iu$442g$4@dont-email.me> <111kd0v$4v7h$2@dont-email.me> <111m2e4$jh18$2@dont-email.me> <111nvfe$143ia$2@dont-email.me> <111o47i$15enm$2@dont-email.me> <111qj00$3f7de$6@dont-email.me> <111qmnk$3gd8e$2@dont-email.me> <1124ait$282i9$2@dont-email.me> <112gklk$248ek$2@dont-email.me> <112sbin$1nfom$3@dont-email.me> <112vo22$2ngug$3@dont-email.me> <11311h0$34pmm$4@dont-email.me> <11322l0$3d6tk$2@dont-email.me> <11393s9$1hrr7$5@dont-email.me> <113ctan$2md1l$1@dont-email.me> <113kknq$114l8$1@dont-email.me> <113q491$2pfco$2@dont-email.me> <114e194$18m2n$2@dont-email.me> <114gccm$24a99$1@dont-email.me> <115c1p9$2vier$1@dont-email.me> <115m16i$26h5h$2@dont-email.me> <11737rt$mhqn$1@dont-email.me> <117506v$1aljd$5@dont-email.me> <117ribn$14bin$1@dont-email.me> <11923ef$29ujm$6@dont-email.me> <11959as$3csmm$1@dont-email.me> <11959pc$3d2f0$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: common main menu ?
Date: Wed, 14 Oct 2026 23:26:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <11ap32j$1tsnt$5@dont-email.me>
References: <10vaufi$3saf7$1@dont-email.me> <1117bj8$eu2d$1@dont-email.me>
	<111gdri$2v442$3@dont-email.me> <111hmik$3c48t$3@dont-email.me>
	<111k9iu$442g$4@dont-email.me> <111kd0v$4v7h$2@dont-email.me>
	<111m2e4$jh18$2@dont-email.me> <111nvfe$143ia$2@dont-email.me>
	<111o47i$15enm$2@dont-email.me> <111qj00$3f7de$6@dont-email.me>
	<111qmnk$3gd8e$2@dont-email.me> <1124ait$282i9$2@dont-email.me>
	<112gklk$248ek$2@dont-email.me> <112sbin$1nfom$3@dont-email.me>
	<112vo22$2ngug$3@dont-email.me> <11311h0$34pmm$4@dont-email.me>
	<11322l0$3d6tk$2@dont-email.me> <11393s9$1hrr7$5@dont-email.me>
	<113ctan$2md1l$1@dont-email.me> <113kknq$114l8$1@dont-email.me>
	<113q491$2pfco$2@dont-email.me> <114e194$18m2n$2@dont-email.me>
	<114gccm$24a99$1@dont-email.me> <115c1p9$2vier$1@dont-email.me>
	<115m16i$26h5h$2@dont-email.me> <11737rt$mhqn$1@dont-email.me>
	<117506v$1aljd$5@dont-email.me> <117ribn$14bin$1@dont-email.me>
	<11923ef$29ujm$6@dont-email.me> <11959as$3csmm$1@dont-email.me>
	<11959pc$3d2f0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Oct 2026 23:26:12 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2028285"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/3KmVHr2hK2lPn9o3Belb0"; posting-host="ef67f4a7283e1d49e952a1a689508a25"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:mYWpi5apdPdC/tKHv6ujsUgXwqo= sha256:/Sc3qksVzGSar64Jhz17sfN8b1Pd+YFJIqTdgWgebB4=
	sha1:22BG9Knpb554EJKkpLkCqJkmxuM= sha256:2NXD7tFd4VV/NTgzu2Nje2dMiWBaALP9BHbmV2ORNbQ=