Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,416 members, 7,815,936 topics. Date: Thursday, 02 May 2024 at 09:25 PM

Why Is PHP Not Considered As A Best Backend For Web Development Again - Programming (5) - Nairaland

Nairaland Forum / Science/Technology / Programming / Why Is PHP Not Considered As A Best Backend For Web Development Again (16296 Views)

Nairaland Devs Is PHP Dead Among Nigerian Devs? / Node VS Python - What's the Best Backend Tech for Beginner & Intermediate Devs? / Php Not Appearing Correcting (2) (3) (4)

(1) (2) (3) (4) (5) (6) (Reply) (Go Down)

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by cixak95211: 2:02am On Dec 01, 2020
Omzie:
....
Oh i get it now, you're a stauch member of the copy-n-paste, aka they said, he said, she said group . .
when you're willing to show a practical demonstration, quote me. Till then, take care amigo.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by emecheboy2(m): 5:16am On Dec 01, 2020
Unbiased1:


PHP controls nearly 80% of the world's websites while Node controls less than 1%. Most of the people who promote Node are largely JavaScript developers who want to use Node simply because it's a JavaScript framework and would be easy for them to learn and use unlike PHP that requires you to learn an entirely new language. Node js also tends to be slightly faster than PHP when used in App development, even at that, Node still doesn't have enough features to uproot PHP as its developers had expected.
God � bless you
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by anonabbey: 5:17am On Dec 01, 2020
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Nobody: 5:23am On Dec 01, 2020
jelel6:


NoSQL is cool talking from my experience with firebase. But be aware that the seemingly unbounded freedom and flexibility you get with it can lead you into poorly designed database systems. I'd recommend you hook up something like mongoose together with MongoDb so that some of that unlimited surface for potential errors is curtailed. Besides, you won't need it most times.

From your earlier post, I understand you previously use MySQL. That's about the worse SQL database you can use in 2020. (No thanks to LAMP Stack)

For SQL, try Postgres database. Pair it with something like knex.js and you'd love programming Backend and databases all over again.

I do use mongoose with it yea...it gives me that flexibility I want. I will check that Postgres and knex.js (the first time I am hearing about knex.js though). Thanks for this invaluable info.

1 Like 1 Share

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by anonabbey: 5:25am On Dec 01, 2020
Unbiased1:


PHP controls nearly 80% of the world's websites while Node controls less than 1%. Most of the people who promote Node are largely JavaScript developers who want to use Node simply because it's a JavaScript framework and would be easy for them to learn and use unlike PHP that requires you to learn an entirely new language. Node js also tends to be slightly faster than PHP when used in App development, even at that, Node still doesn't have enough features to uproot PHP as its developers had expected.

Lol. The 80% quoted here accounts mostly fo Wordpress, Droopal and Joomla websites. Node JS is definitely faster than PHP because it is asynchronous and uses a non-blocking model.

Whichever you choose to learn is fine and still relevant. Laravel is in high demand, Node JS is in high demand too. There's no outright "BEST". What works best for the job is what is best

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by AntiWailer: 5:31am On Dec 01, 2020
OAUTemitayo:

I already learnt php. I am using laravel mostly.
Many enterprises use PHP in their backend.
Slack, Etsy and many others.
MailChimp backend is completely PHP.

PHP is no big deal and very easy to learn. I deployed projects in PHP wayyy back too.

I asked about Enterprises using PHP in Nigeria u are mentioning Slack, Etsy , MailChimp.
So after learning PHP slack, Etsy , MailChimp go employ you ?



Whoever is reading this should listen to me.

Don't waste your time learning PHP in 2020

1 Like 1 Share

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by directonpc(m): 6:14am On Dec 01, 2020
Una mates dey write open-source code that is shipping in Nintendo Switch and PS5 you people are here fighting PHP. Continue. No go think of something to build.

In other news, what's your favourite local hosting company? For me it's WhoGoHost. I registered my first domain with them in 2013. It's been 7 years of doing business with them. You can check their services and prices here
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Collinsanele: 7:16am On Dec 01, 2020
Idontknowyou:
Dev in the house.. I have been confused on which Backend I should venture into, but any one I ask usually suggest Node js over PHP..

Please can any expert here tell me why I shouldn't learn PHP but Node js..

And please suggest the best Backend I should learn before going into Js framework

Most backend jobs in Nigeria use PHP but the global job market mostly favour nodejs.

My advice is to start with PHP, then after a year or so learn node js
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Collinsanele: 7:18am On Dec 01, 2020
Unbiased1:


PHP controls nearly 80% of the world's websites while Node controls less than 1%. Most of the people who promote Node are largely JavaScript developers who want to use Node simply because it's a JavaScript framework and would be easy for them to learn and use unlike PHP that requires you to learn an entirely new language. Node js also tends to be slightly faster than PHP when used in App development, even at that, Node still doesn't have enough features to uproot PHP as its developers had expected.

It's best to know both. Node js is waxing stronger globally day by day.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Collinsanele: 7:28am On Dec 01, 2020
tensazangetsu20:

The MERN stack is the most useless and the worst stack any newbie to programming will ever choose. Learn React Sha because it makes your life easier but forget nodejs MongoDB and express. React can be used with almost any CMS or backend now even wordpress.

Please don't spread falsehood.
Do you know how many MERN stack jobs are out there and their average pay.
As a dev, continuous learning should be your friend as the job market dictates.
There was a time PHP was the hotcake globally but not anymore, MERN stack is where the money is at the moment and would not die off soon.

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by VillagePeople11: 7:41am On Dec 01, 2020
AntiWailer:


PHP is no big deal and very easy to learn. I deployed projects in PHP wayyy back too.

I asked about Enterprises using PHP in Nigeria u are mentioning Slack, Etsy , MailChimp.
So after learning PHP slack, Etsy , MailChimp go employ you ?



Whoever is reading this should listen to me.

Don't waste your time learning PHP in 2020

You ask question, them answer you, you still dey talk off point....learn what you want to learn and let others learn what they want..arguing over a language is a very stupid thing as they are all tools to meet goals. The users don't know what php is and don't care. Does it get the job done, yes or no should influence your decision and not if it is the next cool thing....slack uses php for most of its server operations and have raised billions in funding. jiji uses php and recently raised 21 million dollars in a funding in its latest funding round...if you have a shitty idea and shitty implementation, just simply because you are using node or python or whatever you are advising people to use, you are still going to end up with shitty results...

3 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Phemieny: 7:49am On Dec 01, 2020
tensazangetsu20:

The MERN stack is the most useless and the worst stack any newbie to programming will ever choose. Learn React Sha because it makes your life easier but forget nodejs MongoDB and express. React can be used with almost any CMS or backend now even wordpress.
God bless you
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Omzie(m): 8:10am On Dec 01, 2020
cixak95211:
Oh i get it now, you're a stauch member of the copy-n-paste, aka they said, he said, she said group . .
when you're willing to show a practical demonstration, quote me. Till then, take care amigo.

See why i said you are unwilling to learn. I can bet you didn't read any of the articles i posted. Oh and the OFFICIAL DOC i posted was "he said, she said"? You're just shortsighted and wont go out of your way like we have to benchmark these things.

Okay let me educate you, let's do a simple bubble sort. We would Iterate over a million times over a 10-item array and sort.


node.js


function bubbleSort(input) {
var n = input.length;
var swapped = true;
while (swapped) {
swapped = false;
for (var i = 0; i < n; i++) {
if (input[i - 1] > input [i]) {
[input[i], input[i - 1]] = [input[i - 1], input[i]];
swapped = true;
}
}
}
}

for (var c = 0; c < 1000000; c++) {
const toBeSorted = [1, 3, 2, 4, 8, 6, 7, 2, 3, 0];
bubbleSort(toBeSorted);
}


golang

package main

var toBeSorted [10]int = [10]int{1, 3, 2, 4, 8, 6, 7, 2, 3, 0}

func bubbleSort(input [10]int) {
n := len(input)
swapped := true
for swapped {
swapped = false
for i := 1; i < n; i++ {
if input[i-1] > input[i] {
input[i], input[i-1] = input[i-1], input[i]
swapped = true
}
}
}
}

func main() {
for c := 0; c < 1000000; c++ {
bubbleSort(toBeSorted)
}
}


Now run and benchmark those. Or, I should also post code to teach you how to benchmark from bash??

This brings be back to my earlier statement, I AM SURE YOU'VE NEVER WRITTEN A SINGLE LINE OF CODE IN GO. If you had, and actually done benchmarking, you wont come here saying stuff you dont know.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by 900warriorz: 8:11am On Dec 01, 2020
iamNegro:



True, and how they react to interest rate bla bla


you garrit bro grin
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Emmyloyalty: 9:20am On Dec 01, 2020
Donpre:

Node is faster. On par or just slower than Go

Only matters for large apps though

Go is the fastest of all web application backend stacks.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Emmyloyalty: 9:23am On Dec 01, 2020
tensazangetsu20:

Theres no jobs in MERN stack o. It is all wash bros. PHP has more jobs than Nodej. Heck, even a language like scala has more jobs than Nodejs. A Nairalander relocated to Dubai because of Magento. Magento is based off PHP. Wordpress powers 35 percent of websites globally and is still in demand o. It is not as you think. Go and build a Wordpress theme or plugin from scratch then come back again.

STOP badmouthing tech stacks. That's bad gatekeeping there.

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Donpre(m): 1:03pm On Dec 01, 2020
Emmyloyalty:


Go is the fastest of all web application backend stacks.
I never said it wasn't. I said Node was fast too, faster than php
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by flexispy: 2:33pm On Dec 01, 2020
I love this cheesy cheesy
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by ovanda(m): 6:23pm On Dec 01, 2020
Please guys,i need advise on what and what to learn so i can be able to relocate to abroad with my skills. I already knw java,python,javascript,node.js,css and html.

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by mrugly: 9:51pm On Dec 01, 2020
ovanda:
Please guys,i need advise on what and what to learn so i can be able to relocate to abroad with my skills. I already knw java,python,javascript,node.js,css and html.

Erm...try to learn C, C++, Swift, Scala, C#, Objective C, Go, Ruby, Ada, Basic, DCL, Elixir, Erlang, F#, Hack, Assembly language, Machine language.

After learning all these as well, you can now go Obodo oyinbo

3 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by cixak95211: 11:18pm On Dec 01, 2020
Omzie:

......

You just open your mouth waaaa to talk . . . Go out of the box would use all available threads on a machine right? Unless you wanna limit GOMAXPROCS. It does it implicitly. To make the competition fair (and not an apple-to-oranges scenario), you need to make node all available threads too, then it would be head-on pound for pound, cos by default node will use a single thread, and you need to specify explicitly what you want. You should know this already , unless of course, you havent written and tested any large-scale apps in Node . . .oh yea . . .
so kindly rework your benchmark to use either worker or cluster threads so it behaves similar to go and come back with the results.
Somebody earlier mentioned the difference will be very negligible, and that's exactly what you're gonna get unless of course
you want me to educate you how to spin up worker threads . . . do you?
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by iamwhat: 1:27pm On Dec 03, 2020
vankaid:


Curiously, you included PHP in your tools section on your linkedin.

That's because I'm super good at PHP
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Ahmedie28(m): 8:31am On Dec 04, 2020
The prospect and cash PHP bring to me has blocked my brain to learn other language.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by vankaid: 9:29am On Dec 04, 2020
iamwhat:


That's because I'm super good at PHP
Cool.

Definitely not better than me though.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by iamwhat: 9:16pm On Dec 07, 2020
vankaid:

Cool.

Definitely not better than me though.

Harharharhar.... I'm available for your challege. Make we enter hackarrank ?
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by bluefilm: 6:33pm On Dec 31, 2020
Faller:
Because it sounds like PDP

You are very funny grin
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Jahzrockballer(m): 8:22am On Feb 13, 2021
ProfAmaben:


Ruby on Rails is also dying and giving way for Node.js, I still prefer Ghost CMS or Strapi to WordPress when integrating into a react application, WordPress is also good.
In my honest opinion neither rails or Ruby is dying. It just reducesd in popularity, Ruby on rails is a very matured framework work, unlike node.js
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by ProfAmaben(m): 3:28pm On Feb 13, 2021
Jahzrockballer:

In my honest opinion neither rails or Ruby is dying. It just reducesd in popularity, Ruby on rails is a very matured framework work, unlike node.js

You're right. When I say dying, I only refer to it's popularity. Do you know that Fortran developers are in high demand by the US government? Do you know that C developers are in high development in NASA? This is because the way they built their software and security apparatus is based on these older languages with ultra sound security.

So when I say popularity, I'm not referring to maturity.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Jahzrockballer(m): 8:14pm On Feb 13, 2021
ProfAmaben:


You're right. When I say dying, I only refer to it's popularity. Do you know that Fortran developers are in high demand by the US government? Do you know that C developers are in high development in NASA? This is because the way they built their software and security apparatus is based on these older languages with ultra sound security.

So when I say popularity, I'm not referring to maturity.
I understand now.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Bahat: 5:31pm On Feb 14, 2021
I dont know ooo. But for us it works like miracle.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Gbsks: 10:52pm On Apr 26, 2021
tensazangetsu20:

Node isn't faster than PHP. It's just hearsay.
I intend learning ruby, what's your advice on this ?
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by tensazangetsu20(m): 10:59pm On Apr 26, 2021
Gbsks:
I intend learning ruby, what's your advice on this ?
Learn PHP and learn a platform that's my advice.

(1) (2) (3) (4) (5) (6) (Reply)

Defend Your Programming Language / Learn How To Build A Desktop Software Using PYTHON – Tutorial On Nairaland / What Language Do I Need To Learn For Software Development?

(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 69
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.