Why PHP is Still Alive? Or Why Node Can't Kill It.

a year ago by TCB13 to c/webdev

In the age of cutting-edge frameworks, microservices, container orchestration, and serverless functions, it's easy to assume that PHP is a relic of the past. Developers love to hate on it, and yet-somehow-PHP still powers a significant chunk of the web.

You may hate me for this, but this is what’s really going on. I love JS/TS and Node but the world is built in economies of scale not in love for programming languages… and PHP is the best when it comes to cheap scaling.

Really hope someone at Node decides to make it fast-cgi compatible in a nice way.

deur 6 points a year ago
path: 0 17122790, hotness: undefined, score: 6, children: 4
jyl 10 points a year ago

I wouldn't mind if both were killed and dumped in a rotten tomb.

path: 0 17122790 17123375, hotness: undefined, score: 10, children: 2
deur 2 points a year ago
path: 0 17122790 17123375 17125704, hotness: undefined, score: 2, children: 0
TCB13 2 points a year ago

Too late, JS will take over everything.

path: 0 17122790 17123375 17130819, hotness: undefined, score: 2, children: 0
TCB13 1 point a year ago

That's the point of the article, JS isn't as good or better just because it doesn't support a fast-cgi execution model.

path: 0 17122790 17130815, hotness: undefined, score: 1, children: 0
dotslashme 5 points a year ago

This is where PHP shines: the deployment model is dead simple. Write code > Deploy via FTP > You’re live.

Yeah, from any professional perspective, this is a completely fucked up way of working, even for any professional personal blog.

path: 0 17125802, hotness: undefined, score: 5, children: 1
TCB13 2 points a year ago

It is, but it is also what happens.

path: 0 17125802 17130801, hotness: undefined, score: 2, children: 0
webdev
webdev

@lemmy.world

login for more options
1371
76
27

Community for all things Web Development related.

go to feed...