ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2018/11/05
مستخدم محذوف‎
من قبل مستخدم محذوف‎

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
من قبل 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
من قبل Rashid Khan , Graphics & Web Designer , Cubex mSolutions

php language is very easy and interesting Developement Language

Hafiz Muhammad Saiman idrees
من قبل 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
من قبل 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
من قبل Qasim Karimi , website developer , Nai

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

samar sangor
من قبل samar sangor , Call Center Agent , malomatia QSC

I say that php and hadoop.

Shamoon Ahmed
من قبل Shamoon Ahmed , android apps developer , The Guardian News and Media

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.

vennila ammavasi
من قبل vennila ammavasi

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
من قبل 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
من قبل 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

المزيد من الأسئلة المماثلة