3 ms·
The vast majority of web sites run PHP for better or worse and that code ain't going nowhere. The performance characteristics of Node are completely irrelevant
by Daishiman 10y ago
The vast majority of web sites run PHP for better or worse and that code ain't going nowhere.
The performance characteristics of Node are completely irrelevant for most sites. The developments model's inherent complexity and the moving target, however, matters very much.
- camus2 10y ago> 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.
- Daishiman 10y agoYou'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.
- camus2 10y ago> 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.
- Daishiman 10y agoWhich 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.
- camus2 10y ago> 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.