Earlier quoted context omitted.
It looks like you are wanting to argue on some specifics. I probably won't be able to give you what you are looking for. With me, it had to do with the languages I wrote (C and Perl), that required CGI to publish. CGI did fine, but it's fairly primitive. Just another system text pipe (which, TBH, is pretty much what is going on, under a Webserver). But for most folks, CGI is unapproachable. That's what PHP gives peop…
You misunderstand, it's more that I have a very limited knowledge of web programming : besides dumb HTML+CSS, only a small project using JQuery and (then bleeding edge) async JavaScript on the frontend, Python on the server, and... CGI for the communication between them. So I was literally trying to know more. (And I understand a bit better now, thanks.)
I think that anything that will interact with remote browsers, should go through a Webserver. Many utilities actually have their own built-in webservers (not sure that’s always a good thing).