Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.unix.shell,comp.os.linux.misc Subject: Re: Over-Elaborate Shell Scripting Date: 14 Mar 2026 04:59:35 GMT Lines: 41 Message-ID: References: <10otpi4$1opu8$3@dont-email.me> <10otrqi$1p9ft$1@dont-email.me> <10ou2q9$1qp29$1@dont-email.me> <10oucet$vo4d$2@news.xmission.com> <10ouhk5$22anv$1@dont-email.me> <20260312095816.00001163@gmail.com> <69b33726@news.ausics.net> <20260313080000.00004c23@gmail.com> <10p1cg9$3an5p$4@dont-email.me> <20260313092610.000065be@gmail.com> <10p1mva$3g8pp$1@dont-email.me> <20260313122129.00007909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net AA/sKjO9B7cqenY6OAYAYgmV+hpDFdNQUKgk4nYFwaQYKUdO3C Cancel-Lock: sha1:bMotcKwno29PmTplQf3CKu/02rs= sha256:3nIuN561ryJsymUTw7ql11aQvgsQ2fAgTDGPwnOLSJY= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.unix.shell:26723 comp.os.linux.misc:82961 On Fri, 13 Mar 2026 23:26:41 -0400, c186282 wrote: > If you need a web page to DO SHIT other than just sit there and look > pretty then you need PHP. I often used those 'make yer own page' > apps/CMS - cheap - to set up the HTML/pages ... the annoying stuff > ... and then used PHP to add IQ. Worked well, fairly quick. Found > Joomla to be maybe the best compromise of features, though there is a > bit of a learning curve compared to, say, WordPress. Never used it. Our SPA used Angular. The browser based apps I did prior to the map being incorporated into the Angular project used Node.js/ Express.js on the backend and the Esri Javascript 3.x API on the fontend for the map pieces. I did a web app on the Pi yesterday. The Pi reads a I2C DHT11 sensor to get the inside temperature and humidity and publishes it so I can get the data in the browser on my main machine rather than switching to the Pi. Tomorrow I'll probably expand it to query NOAA for the outside temperature and humidity and add it to the page. Python/Flask. fwiw, since the Flask package is included in the Pi's system site packages I'm not in a venv. Also I spun off a process using subprocess.Popen("python", "dht_simple.py") with no problem. The subprocess does the actual hardware read and updates the html. I suppose PHP was better than FrontPage that used millions of non-breaking spaces to format a page. Like Cobol there is still a lot of it around. However if I had a kid in college I would not advise them to use PHP. https://kinsta.com/blog/php-vs-angular/ probably tl;dr. Synopsis: "The Angular framework works excellent for building large-scale apps with complexity and need of scalability. PHP is an old player, and it’s still very much in the game. It’s a good, low-cost option for you to develop a small business website, a portfolio site, or even an ecommerce store."