🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: common main menu ?

#42
From: Arno Welzel
Date: Tue, 20 Oct 2026 10:19
62 lines
4465 bytes
Lawrence D’Oliveiro, 2026-10-15 01:16:

> On Fri, 25 Sep 2026 09:54:03 +0200, Arno Welzel wrote:

[...]

>>>> Lawrence D’Oliveiro, 2026-09-01 00:45:
>>>>>
>>>>> Tell that to the WordPress developers
>>>>> <https://developer.wordpress.org/plugins/cron/>.
>>>>
>>>> That has NO RELEVANCE AT ALL for PHP itself!
>>>
>>> Of course it does. It’s a limitation of PHP that WordPress itself
>>> has to work around.
>>
>> No. All these tasks are only WordPress related.
> 
> Doing periodic cleanups is not something specific to WordPress.

Therefore it makes no sense, to say, that this has anything to do with
the lanuage which was used to create WordPress.

> WordPress has to do it in a PHP-limited way precisely because it is
> written in PHP.

No. WordPress would do this in exactly the same way, when it was written
in JavaScript, Rust, C# or whatever. If you need periodically recurring
tasks you need some process to handle this - no matter which language
you use.

>> WordPress would do exactly the same if it was implemented in Node or
>> any other language, since these tasks are things like "publish a
>> post at the given date" or "clean up transients in the database when
>> they expire" and so on.
> 
> The tasks would run more promptly and efficiently on non-PHP-based
> frameworks, because they could run at exactly the right time, from a
> background task, without depending on either periodic polling from a
> cron-type service (requiring separate fiddly setup outside the web
> application) or being triggered in response to random external user
> actions.

This is also possible with PHP - even with scheduled timers which
trigger at an exact time down to the second or with intervals like "run
ever 3 hours and 15 minutes starting at 5:00 this day and stopping 48
hours later".

You just don't know this, because you don't want use it. And you alway
confuse "programming language" with "runtime environment".

It is not the language "JavaScript" which makes things like in Node
possible - it is the runtime environment "Node".

> As though you don’t really know PHP at all ...

Whatever you say. When it makes you happy...


-- 
Arno Welzel
https://arnowelzel.de
Technical Details
Message-ID: <11b7f7g$2tdre$1@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> <11ap2go$1tsnt$4@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: Arno Welzel <usenet@arnowelzel.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: common main menu ?
Date: Tue, 20 Oct 2026 12:19:26 +0200
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <11b7f7g$2tdre$1@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>
 <11ap2go$1tsnt$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Oct 2026 10:19:29 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3061614"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+xPfKF9iAut17g9jc2Gj332Ey0Ao2zal0="; posting-host="8415ae9734c19c7434fe279eb27729d7"
Cancel-Lock: sha1:V62EbvbD5mVmf601KGKC0VCn9P4= sha256:HQsnPq5cP1Hyy0yJsovYLCHLu2Z3rkXerWz5W61jsDk=
	sha1:XV6deX80cxsKfeqSQknFZD/vimE= sha256:zdgpOaLihpjn5ExECALqzgt/MCVKqcrwQ/vEmeairZg=
Content-Language: en-US, de-DE
In-Reply-To: <11ap2go$1tsnt$4@dont-email.me>