🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.infosystems.www.authoring.html
3 messages
3 total messages Started by Lawrence D’Oliveiro Wed, 14 Oct 2026 23:26
Re: common main menu ?
#40
Author: 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.
Re: common main menu ?
#41
Author: Arno Welzel
Date: Tue, 20 Oct 2026 10:14
20 lines
2807 bytes
Lawrence D’Oliveiro, 2026-10-15 01:26:

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

Well if you don't know how to handle processes without user actions,
that is your own problem.

>> 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.

It adresses the issue, that you believe, PHP can only be used to
handling incoming HTTP requests.


-- 
Arno Welzel
https://arnowelzel.de
Re: common main menu ?
#47
Author: Lawrence D’Oliveiro
Date: Sat, 31 Oct 2026 23:54
13 lines
2703 bytes
On Tue, 20 Oct 2026 12:14:22 +0200, Arno Welzel wrote:

> Lawrence D’Oliveiro, 2026-10-15 01:26:
>
>> So it still needs some random external user action to kick it off
>> -- exactly the sort of thing we were trying to avoid.
>
> Well if you don't know how to handle processes without user actions,
> that is your own problem.

Maybe go tell that to the author of that package you were
recommending? They were the ones who didn’t seem to know how to do it;
maybe you should go show them how much smarter you are than they.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads