News for hackers. Stuff that matters.
Re:I still love PHP and JavaScript by candiodari on Tuesday August 02, 2022 @07:25PM (#32325608)
I really like the serverless aspect. I still think nothing has the deployment story that PHP applications have. Just upload some source and your website is up.
Re:I still love PHP and JavaScript by themodelplumber on Tuesday August 02, 2022 @07:42PM (#32325764)
Pixar should make a film called "Deployment Story" in which PHP is basically Woody (maybe it's even just the PHP stuffed elephant?), and Woody ends up in the box on the street, and then Woody's dev pal doesn't realize what they've really lost until some reflection is done. I'd watch that.
Re:I still love PHP and JavaScript by thomaslangston on Tuesday August 02, 2022 @08:12PM (#32326030)
This reads better when reflection is used in both meanings.
Re:I still love PHP and JavaScript by koolba on Tuesday August 02, 2022 @09:31PM (#32326599)
There has to be a Debian angle to this plot as well.
Re:I still love PHP and JavaScript by mekster on Tuesday August 02, 2022 @11:06PM (#32327183)
Interestingly, that has been the case for 25 years or so now but none except perl was able to do that?
Re:I still love PHP and JavaScript by dogleash on Wednesday August 03, 2022 @10:16AM (#32331993)
Perl's not unique in that way. Any language can talk cgi. That's literally the purpose of cgi. Perl was just the popular scripting language of the day.

If you're using something other than cgi to get your httpd to talk to your webapp, your answer lies in understanding the architectural decisions of that tool.

Re:I still love PHP and JavaScript by ed25519FUUU on Tuesday August 02, 2022 @08:15PM (#32326055)
Do PHP applications really require no system packages for any use-cases?
Re:I still love PHP and JavaScript by lmm on Tuesday August 02, 2022 @11:33PM (#32327358)
PHP is pretty batteries-included, sometimes to a fault (it comes with things like 3 different MySQL drivers in the standard library). I'm sure there are cases where you'd want to install a C extension that depended on some system library, but I can't actually think of any right now.
Re:I still love PHP and JavaScript by asddubs on Wednesday August 03, 2022 @08:54AM (#32331044)
imagick for imagemagick is a common one. but yeah, you can go really far with just relying on php standard features
Re:I still love PHP and JavaScript by paulryanrogers on Tuesday August 02, 2022 @08:54PM (#32326366)
What do you mean by system packages? There are PHP packages now and Composer. Though core and its bundled extensions are quite rich. So 3P packages aren't strictly necessary.
Re:I still love PHP and JavaScript by quickthrower2 on Tuesday August 02, 2022 @07:46PM (#32325819)
It is also JSX before JSX was invented too :-)