Node.js vs PHP: which one would you choose?

Let's Compare the popular platforms Node.js and PHP and Understand their similarities, differences and how they stack up against each other. Why Do Startups need to understand this technology uses?

Replies

I like to think and love to find answers
@harendrasingh The real question here is what is your next project? And only after learning that can I precisely suggest whether to choose Node.JS or PHP for your next project. I would suggest that you read this blog to get a detailed idea on the same: https://www.excellentwebworld.co... In the mean time, I will mention a few pointers that may clear out any doubts you have for Node.JS vs. PHP. PHP Vs. Node.JS: Who's the best? *Frameworks* PHP has many popular PHP frameworks like Codeigniter, Laravel, symphony, CakePHP, etc. Node.js too has several cool frameworks such as Express.JS, Meteor, Hapi.JS, Koa.JS, etc. *Application Area* PHP is widely used for developing CPU intensive applications and also creating CMS to build blogs, websites, and e-commerce websites. Node.JS is used for developing server-side solutions because of non-blocking I/O, and event-driven model. *Databases* PHP works with traditional databases like MySQL, MariaDB, PostgreSQL. Node.JS works seamlessly with No SQL databases such as MongoDB, Couch DB, and graph database system like neo4j. >>>Conclusion<<< PHP is the best answer for you if you are looking for some enterprise solutions like CMS, CRM, and ERP. If you want to build real-time applications like online games, video, text chat engines, and trello then Node.js is perfect for you.
Share
Building code for Food Tech projects
@harendrasingh I was a PHP developer for a fer years. it's my main first language and language that i used at my job. So my answer - nodejs. because PHP is a dead horse. nodejs community are more solid and active - so as i'm a lazy developer and dont want to reinvent the wheel all the time - i'm using npm instead of do it from scratch. Another point that a lot of new dev tools actually have a better support of nodejs. --- I has hope that Yii Framework will be like a fresh air for PHP community - but as main developers there has a 9-5 jobs it was slow down and ... they trying to raise it from ashes - also started an OpenCollective page https://opencollective.com/yiisoft but without fresh blood - Other point to think - a lot of people jump to Laravel, while Yii migrate to v2 --- Btw, check an URL for this page. 666 is definately a sign ;)
Share
good girl
I think php is getting a little off track. By using Node.js as the backend, you automatically get all the benefits of full-featured JavaScript development, including: Optimal application speed; possibility of sharing and reuse; a huge number of free tools; cross-platform. You can now view some good examples here https://keenethics.com/blog/node-js-app-examples to see what I'm talking about.
Dumpsschool provides actual questions
y favorite is PHP. Building a workload-capable prototype doesn't take a lot of time. The programmer forms the backbone of the future product, goes very quickly. For more datils visit my blog www.dumpsschool.com