News for hackers. Stuff that matters.
Re:A look at modern PHP by nicoburns on Tuesday May 05, 2020 @12:28PM (#23081790)
> you can certainly write a rest API in PHP, but that's not typically what you would use PHP for

Definitely not true in my experience. lot's of people are writing REST apis in PHP.

> NodeJS is 11 years old... it's not a shiny new thing anymore.

I write Node stuff for work at $dayjob, and lot's of stuff is great. But it still has nothing that's close to competing with Rails/Django/Laravel in terms of completeness.

Re:A look at modern PHP by slim on Tuesday May 05, 2020 @12:54PM (#23082078)
He's right. PHP is a templating engine. So if you're not going to render pages server side, it's not the main use case for php. I'm a php developer and that useless lonely <?php tag at the beginning of my json service files bothers me