Re:93% of Paint Splatters Are Valid Perl Programs
by saidajigumi on Thursday April 04, 2019 @04:52PM
(#19576980)
The parent nailed it. It's easy to complain about PHP from various standpoints both pragmatic and PL-centric, but it has an amazing superpower which might be summed as "serverless for the web, v0".
[ Parent
| on HN ]
Re:93% of Paint Splatters Are Valid Perl Programs
by paulgb on Thursday April 04, 2019 @05:16PM
(#19577207)
No deployment setup will ever match the pure joy of dragging a .php file into WinFTP, watching the little blue progress bar, and refreshing your browser.
Re:93% of Paint Splatters Are Valid Perl Programs
by snazz on Thursday April 04, 2019 @07:50PM
(#19578301)
I practically have that level of “luxury” in my Awful[0] (CHICKEN Scheme) web app that I’m working on right now. With a couple lines of code[1] added to my project (that I have only running in development mode), I can simply save my source code file in Emacs, have it automatically saved on the server through Emacs’s TRAMP feature, reload the page in Firefox, and instantly see my changes. If I like it, I make a commit through magit and I’m off to the next task.
Of course, I don’t run it like this in production (to refresh the production app I have to go to "/reload" from a certain IP address and be logged into the admin account).
Don’t worry: the “old ways” are still here, even if no longer mainstream.
[0]: http://wiki.call-cc.org/eggref/5/awful#a-hello-world-example
[1]: http://wiki.call-cc.org/eggref/5/awful#reload-applications-c...