Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which language is better for the back end now and in the future Node.js or PHP? why?

user-image
Question added by Deleted user
Date Posted: 2018/11/05
Deleted user
by Deleted user

PHP is a programming language. Node.js is not a programming language, it is rather an interpreter of Javascript code (due to the Google Chrome V8 engine) to the operating system installed on the server. But Node.js is more than just that because it is extended with the libuv library that focuses on asynchronous I/O.

 

Motasem Abu Touq
by Motasem Abu Touq , Big Data Specialist , Norwegian Refugee Council (NRC)

PHP is a programming language. Node.js is not a programming language, it is rather an interpreter of Javascript code (due to the Google Chrome V8 engine

Rashid Khan
by Rashid Khan , Graphics & Web Designer , Cubex mSolutions

php language is very easy and interesting Developement Language

Hafiz Muhammad Saiman idrees
by Hafiz Muhammad Saiman idrees , Unity Developer / Software Engineer , RegexSoft

It depends on the nature of the work. And further more PHP is a programming language and Node.js is a translator for js.

Hasna Abu Khalid
by Hasna Abu Khalid , Leadership Assistant , The Giant for Consulting & Training - Saudi Arabia

This flexibility contributed to the popularity of the language,PHP is now used on more than 80% of web

Qasim Karimi
by Qasim Karimi , website developer , Nai

for the backend, PHP is better and Node.js is not for the backend.

samar sangor
by samar sangor , Call Center Agent , malomatia QSC

I say that php and hadoop.

Shamoon Ahmed
by Shamoon Ahmed , Senior Android Developer , Roomco

Node.js is not a programming language but php is programming language and if someone ask that which platform is batter for backend development then I would say that it depends on the nature of given task or project.

Personally I would choose PHP over Node every time. It’s considerably more mature, the toolchain is great, the package manager (Composer) is brilliant, and libraries are available for almost everything.

When I switch from PHP to JS I’m always dismayed by the lack of type hinting, for example. Sure, you can use TypeScript (and you really should), but it’s not baked into the language.

MURALI KRISHNA GUNAKALA
by MURALI KRISHNA GUNAKALA , Project Manager , Suhail Bahwan Group (Holdings) LLC

PHP (hypertext preprocessor) is a general purpose scripting language which has been designed for web development purpose. Node.js is a javascript programming language that runs on the server. It is used to make web pages interactive and dynamic too.Concurrency - PHP uses multi-threaded blocking I/O to carry out multiple tasks to run parallels alongside each other. Node.js uses event-driven non blocking I/O execution model.Execution - PHP is synchronous.    Node.js is asynchronousExecution Speed - PHP is slower than Node.js where as node.js is Faster than PHP and also light weight compared to PHP.Web Server - PHP runs on the Apache web server. It can also run on IIS web server in case of a windows machine.     Node.js NPM does not need a web server, it runs on its own run time environment.

Muhammad Sajjad
by Muhammad Sajjad , Full Stack Web Developer , Phlox Solutions

As Node js has many advantages over php,many companies are switching from php to node js

you can check link below for applications of node js

9 Famous Apps Built with Node.js

Advantages of node js over php

it is single threaded

it is non blocking i.e has asynchronous calls

it can handle many requests than php

node js run on v8 engine of google chrome which is written in c++ and node also in c++,which makes it super blazingly fast

 

and many more features

More Questions Like This