Md Ashiqur Rahman
Md Ashiqur Rahman

Reputation: 464

which language choose for server side programming laravel or nodejs

I know Html, CSS, javascript, bootstrap so I wanted to move on now I am confused which server side language to choose I learned basic PHP. I have a project to complete which has real-time collaboration, file uploads etc. Now I wanted to learn and complete my project within 2or3 months. Need some suggestion. TIA

Upvotes: 0

Views: 353

Answers (1)

Diego ZoracKy
Diego ZoracKy

Reputation: 2285

Although you can create real-time applications using PHP, Node.js is "naturally" a better fit for this kind of application. Besides that as you said that you are choosing a new language to learn, I suggest you to see which one is becoming more expressive and that will probably have more attraction on the market from now on. The Developers Survey from Stack Overflow is a good source of information for you to start this research.

2017: https://insights.stackoverflow.com/survey/2017#most-popular-technologies

2016: https://insights.stackoverflow.com/survey/2016#technology-most-popular-technologies

As a basis for what I said about Node.js and real-time applications:

Why the Hell Would You Use Node.js

https://medium.com/the-node-js-collection/why-the-hell-would-you-use-node-js-4b053b94ab8e

Where Node.js really shines is in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability. How it works under-the-hood is pretty interesting. Compared to traditional web-serving techniques where each connection (request) spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections (held in the event loop).

What aspects of Node.js make it suitable for real-time web applications?

https://www.quora.com/What-aspects-of-Node-js-make-it-suitable-for-real-time-web-applications

And here goes some suggestions for your adventure:

Upvotes: 2

Related Questions