News for hackers. Stuff that matters.
Re:PHP vs Node js... Let's be honest: Node.js couldn't kill ... by camus2 on Saturday May 06, 2017 @01:41AM (#14278881)
> The vast majority of web sites run PHP for better or worse and that code ain't going nowhere.

The vast majority of blogs that are build in Wordpress. Remove all the blogs and corporate websites and I bet that's not the case anymore.

Re:PHP vs Node js... Let's be honest: Node.js couldn't kill ... by Daishiman on Saturday May 06, 2017 @08:52AM (#14280016)
You're saying that as if blogs and corporate websites weren't a humongous proportion of the internet.

And no, there's some pretty big, modern sites like Mailchimp which run on PHP.

There's literally no reason to use Node if you already have an effective backend with PHP because Node doesn't really bring anything new on the table, but it does bring along its own class of issues.

Re:PHP vs Node js... Let's be honest: Node.js couldn't kill ... by camus2 on Saturday May 06, 2017 @09:18AM (#14280101)
> because Node doesn't really bring anything new on the table

You can't write a production grade web socket server in PHP. and no ReactPHP isn't my definition of production grade. If your app is real time you just can't use PHP for that.

So yes, Node brings something new to the table.

Re:PHP vs Node js... Let's be honest: Node.js couldn't kill ... by Daishiman on Saturday May 06, 2017 @02:21PM (#14281573)
Which is trivially compartmentalized through a Node proxy server that takes up at most 1000 lines of code. Nobody's throwing out their code for that.
Re:PHP vs Node js... Let's be honest: Node.js couldn't kill ... by camus2 on Saturday May 06, 2017 @03:39PM (#14281876)
> Which is trivially compartmentalized through a Node proxy server that takes up at most 1000 lines of code. Nobody's throwing out their code for that.

You just said, Node brought nothing new to the table, obviously you were wrong.