Difference between PHP and Node.JS

  1. Very simple and easy to use, then it is widely used around the world.
  2. It is already interpreted language, no need for compilation.
  3. It is platform independent, can use on every operating system.
  4. Real-time access monitoring provides access logging by creating the summary of recent access for the user.
  1. Widely used in modern web applications because of fast-growing libraries and frameworks.
  2. It is event-driven. Doesn’t block any requests to terminate existing ones.
  3. Has a bigger community around it.
  4. Comes with a tool named NPM, functions as all in one package control technique could be used any element inside it.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sachini Senanayake

Sachini Senanayake

IT undergraduate at University of Moratuwa