DEV Community


Discussion on: PHP vs Node.js

developerkwame profile image
Oteng Kwame • Edited

Why does some developers compare PHP with Node.js. NodeJS is not a programming language but a runtime environment for JavaScript, It is just a technology for making JavaScript a server side language. I think this should be understood. So the comparison should not be made at all.

PHP has a built-in server to run any PHP app. It is easy to work with PHP than NodeJS because NodeJS depends on a lot of packages to work based on the node_modules directory.

xicarus profile image
Sergiu-Lucian Petrica

Exactly this, such comparisons are borderline ignorant. Compare Node to ReactPHP if you wanna make an article.
I won't even begin to mention how biased the article is.