Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,624,212 members, 6,118,121 topics. Date: Monday, 25 January 2021 at 03:47 PM

Node.js Or PHP - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Node.js Or PHP (409 Views)

Node.js Or PHP ? / Jave Script Or PHP / JS Or PHP Frameworks? Which One Is Better For A Newbie (2) (3) (4)

(1) (Reply) (Go Down)

Node.js Or PHP by kayodez: 10:21pm On Jan 10
Guys please lately, I'm a bit worried about my backend development career.... I am working with Node.js, express and MongoDB ontl the server-side.


But I read an article from Twitter that says PHP with MySQL is the best backend tools..

How true is that? Would you advice I changed my stack?

Anyone with senior experience should please enlighten better.

Thanks
Re: Node.js Or PHP by ahmedzippa: 10:33pm On Jan 10
PHP has always been the best. Trust me.
Re: Node.js Or PHP by Karleb(m): 10:44pm On Jan 10
Nothing like the best.

PHP is ubiquitous on the web. It's a great language to start your web development career with.
Re: Node.js Or PHP by Segom: 10:45pm On Jan 10
kayodez:
Guys please lately, I'm a bit worried about my backend development career.... I am working with Node.js, express and MongoDB ontl the server-side.


But I read an article from Twitter that says PHP with MySQL is the best backend tools..

How true is that? Would you advice I changed my stack?

Anyone with senior experience should please enlighten better.

Thanks
Everybody has their opinion. Choose what is best to handle your project. For project needing websocket, nodejs has an edge above php
Re: Node.js Or PHP by kayodez: 10:47pm On Jan 10
Segom:

Everybody has their opinion. Choose what is best to handle your project. For project needing websocket, nodejs has an edge above php


If I get you right. They can both produce the same outcome?
Re: Node.js Or PHP by Karleb(m): 10:47pm On Jan 10
Segom:

Everybody has their opinion. Choose what is best to handle your project. For project needing websocket, nodejs has an edge above php

I disagree.

You can use js websocket with PHP.
Re: Node.js Or PHP by tensazangetsu20(m): 8:22am On Jan 11
I looked at your past posts. You just started learning code recently. Now that it's still early drop Node and move to PHP. I was in this same situation last year and wasted two good months on Nodejs. It's not easy getting a job as a junior with Nodejs. It's possible o but its not easy.
Re: Node.js Or PHP by Honeywell20(m): 2:40pm On Jan 11
Go for PHP. Most website still use PHP, To name a few wordpress, laravel, yii, magento
Re: Node.js Or PHP by spartan117(m): 4:05pm On Jan 11
@kayodez u better read this article:

https://www.monterail.com/blog/nodejs-developers-in-demand

Summary:
This article throws a balance and is not biased towards any of the two but instead highlights the strengths and weaknesses of both technologies. Node js for example is much faster than php for data intensive applications, however it's weak in CPU demanding applications and cms applications where php thrives in.

In terms of popularity JavaScript is still by far more popular than php, but php is far more popular than nodejs though the margin is ever decreasing. About 79% of web applications have their back end built with php according to the article.

In terms of jobs php has more job openings than nodejs, but more and more companies are moving to nodejs due to the good performance of nodejs in certain applications such as Netflix which "experienced a 70% increase in start-up time" after moving to nodejs, others include twitter, eBay, medium, coursers.

In terms of salaries nodejs developers are paid about $20,000 more than php developers even though there are more php job openings than nodejs. This may be because there are fewer nodejs developers than php developers.

Looking into the future nodejs has a brighter prospect than php given it's current upward trajectory and the fact that it's leverages on the popularity of JavaScript which still rules the web without any "serious" challenger.

In conclusion there is no better option between the two and anyone giving you any hard-coded answer is doing you a disservice. It's up to you to know what you want to build and then use the technology that best suites the job.
As a side note many php job postings also require that you have knowledge of JavaScript. So whichever you choose, nodejs or php, deep knowledge of JavaScript is a huge advantage.

Wish you all the best.
Re: Node.js Or PHP by Karleb(m): 4:13pm On Jan 11
spartan117:
@kayodez u better read this article:

https://www.monterail.com/blog/nodejs-developers-in-demand

Summary:
This article throws a balance and is not biased towards any of the two but instead highlights the strengths and weaknesses of both technologies. Node js for example is much faster than php for data intensive applications, however it's weak in CPU demanding applications and cms applications where php thrives in.

In terms of popularity JavaScript is still by far more popular than php, but php is far more popular than nodejs though the margin is ever decreasing. About 79% of web applications have their back end built with php according to the article.

In terms of jobs php has more job openings than nodejs, but more and more companies are moving to nodejs due to the good performance of nodejs in certain applications such as Netflix which "experienced a 70% increase in start-up time" after moving to nodejs, others include twitter, eBay, medium, coursers.

In terms of salaries nodejs developers are paid about $20,000 more than php developers even though there are more php job openings than nodejs. This may be because there are fewer nodejs developers than php developers.

Looking into the future nodejs has a brighter prospect than php given it's current upward trajectory and the fact that it's leverages on the popularity of JavaScript which still rules the web without any "serious" challenger.

In conclusion there is no better option between the two and anyone giving you any hard-coded answer is doing you a disservice. It's up to you to know what you want to build and then use the technology that best suites.

Wish you all the best.

Can you explain how Javascript rule the web without any serious challenger? I want to learn.

Edit


That article was obviously written by a nodejs developer. All those stats and quotes only applies to the US market. The reality of developer in Africa is quite different from that.

Edit 2.

You claimed a giant tech company moved to nodejs? That's not true. Even the article you cited didn't say so. The only include nodejs into their stack.

Most big tech companies operate on microservices which is language agnostic.
Manipulate data in your favorite language, create an API for it. If I need it, I'd call the API through my favorite language and consume it.

You'd be surprised people write Fortran and Matlab at Google. grin
Re: Node.js Or PHP by spartan117(m): 4:44pm On Jan 11
Karleb:


Can you explain how Javascript rule the web without any serious challenger? I want to learn.

Edit


That article was obviously written by a nodejs developer. All those stats and quotes only applies to the US market. The reality of developer in Africa is quite different from that.
I don't think that article was biased in any way. All the facts stated in the article is correct.

As for Africa the reality is that php is still more popular than nodejs and has more job openings just like the rest of the world.

As for future trend, nodejs is likely to keep increasing in popularity with each passing year.

As for the part where I stated that Netflix moved to nodejs. I never stated that they moved their entire stack to node. I don't know if it was part of their stack they moved or everything (I highly doubt that though) at the end it's best to know what technology works best for certain tasks and leverage the advantage of each. So an app can be built using multiple server side technologies and different databases also.
Re: Node.js Or PHP by Rgade: 5:54pm On Jan 11
Be like say this argument no go ever end
Re: Node.js Or PHP by cixak95211: 9:46pm On Jan 11
@kayodez.

I don't know if you realize that Nairaland has a search button. Look up above, it;s there.
In saner forums, you will penalized for repeat posting of closed threads and topics.
Re: Node.js Or PHP by kayodez: 9:19pm On Jan 12
Thank you all for your contributions...

Well I will focus on Node.js then later move to php. In as much as they give the same end products.

Gracias

(1) (Reply)

Static Travel Website Created With Html Css And Javascript / Programmer Vs Youtuber? / Instagram Followers

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 86
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.