News for hackers. Stuff that matters.
Re:I still love PHP and JavaScript by onion2k on Wednesday August 03, 2022 @03:22AM (#32328631)
- it's stateless by design (much easier to scale)

That's sort of true, but the default state mechanism (session files) doesn't scale well, or even work across load balancers that don't maintain server affinity for each client. Scaling a PHP app isn't hard, but it can be non-trivial if you've written the code without considering scaling. Other serverside scripting languages (Python, Ruby with Rails) nudge you in the right direction in ways that PHP doesn't.

Re:I still love PHP and JavaScript by heurisko on Wednesday August 03, 2022 @05:59AM (#32329689)
It's trivial to configure PHP to store sessions in redis.