Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,880 members, 7,806,533 topics. Date: Tuesday, 23 April 2024 at 05:57 PM

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

Nairaland Forum / Science/Technology / Programming / Why Is PHP Not Considered As A Best Backend For Web Development Again (16266 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 AntiWailer: 2:00pm On Nov 30, 2020
iamwhat:
NEVER LEARN PHP IN 2020

http://linkedin.com/in/mohemos

That's my linkedin profile.

I guess I'm the best person to advise you... After using PHP (Laravel, Smarty) for 5 Years and currently using Nodejs

TLDR; (The short answer is) : LEARN JAVASCRIPT then NODE.JS

I earn $20/hour working remotely using NODE.JS & REACT.JS

Long answer, picked from stackoveflow 2020 survey:
Similar to last year, we asked about many of the other miscellaneous technologies that developers are using. For the second year in a row, Node.js takes the top spot, as it is used by half of the respondents. We also see growth across the board in the popularity of data analysis and machine learning technologies such as Pandas, TensorFlow, and Torch/PyTorch.


https://insights.stackoverflow.com/survey/2020#technology-other-frameworks-libraries-and-tools-professional-developers3

Nice one.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Omzie(m): 2:02pm On Nov 30, 2020
Donpre:

Node is faster. On par or just slower than Go

Only matters for large apps though

Huh? Did I just read “on par or ‘just’ slower” than go?

No interpreted language would ever run as fast as or ‘just’ slower than a compiled language. Never!

Sure, in most basic stuffs that aren’t demanding, they’ll perform similarly. But, in major stuff, Go would kill it. I can spin up millions of goroutines to handle cpu intensive tasks concurrently at an extremely cheap rate (just around 4KB per goroutine). Wanna try that on node and watch the event loop choke?

Lol

4 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by zeestone99(m): 2:17pm On Nov 30, 2020
ProfAmaben:


The way some of you bad mouth tech stacks amaze me. Why would someone wake up one morning and say that the Mern stack is the worst for newbies? The Mern stack is where the job is at the moment all over the world except Nigeria where they love WordPress. If you have any dreams of relocating abroad and don't know Mern, sorry.

I'm not a newbie in anyway too, no need telling me to learn React. I eat, dream and breathe React.

What's wrong with mongoDB noSQL? What's wrong with node? Funny php fanboys.

Hello are you into mobile app too
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Excallibur(m): 2:18pm On Nov 30, 2020
MT:
In 2020, Nairaland so-called programmers are still arguing over which tech stack is better than the others. Shake my head.

The little you knew, which real life problems have you been able to use it to solve?
Word

2 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by tosinhtml: 2:19pm On Nov 30, 2020
ProfAmaben:


So let's blame PHP's slowness on verbose scripts and styles.


Actually YES. PHP is slow, but Wordpress is madddddd slow.

If you do a little research, you will find out that most themes comes with unnecessary clog of scripts & styles. Once you remove all that & only include what you want, meaning maintain only your custom built HTML website styles & scripts, It works like magic.

I wouldn't advice anyone to learn php in 2020 cos it's severely limited to backend development.

Hmm is this the major reason though? PHP is actually dying a natural death, I mean we have GO, Ruby which people still learn & use daily with growing numbers & they are only Backend.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Ejiod(m): 2:22pm On Nov 30, 2020
ProfAmaben:


Congratulations to him. I'm an advocate of technology and not a fanboy since technology is just a tool utilized in solving problems. You asking me to build a WordPress theme from scratch is like me asking you to use JavaScript to analyze topological features using synthetic aperture radar interferometry and rendering the result with React.

We should all pat ourselves on the back regardless of tech stack or framework. Someone lost his life in Arkansas over Angular vs React fight, say no to fanboyism. Shalom.
Abeg how true is this someone losing life. Abeg share me the link. The competition between React and Angular is like Messi vs Ronaldo

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by cixak95211: 2:23pm On Nov 30, 2020
Omzie:


Huh? Did I just read “on par or ‘just’ slower” than go?

No interpreted language would ever run as fast as or ‘just’ slower than a compiled language. Never!

Sure, in most basic stuffs that aren’t demanding, they’ll perform similarly. But, in major stuff, Go would kill it. I can spin up millions of goroutines to handle cpu intensive tasks concurrently at an extremely cheap rate (just around 4KB per goroutine). Wanna try that on node and watch the event loop choke?

Lol

Lol, what you're probably thinking is that the node event loop handles most of the processing whereas in fact, it is sent of for i/o computations at the cpu's thread . . .
Nodejs is probably a bad idea for cpu intensive work though, such as object modeling and 3d rendering
but ur Go will be the first to give up if it goes head-to-head in terms of malloc and garbage collection.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by WebclickNG: 2:32pm On Nov 30, 2020
My present project built with React, Node.js/Express, Postgres made me realize you can build just about any application on Node.

2 Likes 1 Share

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by IceColdVeins(m): 2:33pm On Nov 30, 2020
Django is cool but not that relevant especially in this part of the world. As outdated as php may seem, it still rolls in more cash than django or javascript.
Check the statistics on upwork please unless you are just a hobbyist
Churchill6767:


Good day, how deep have you gone in Django?

2 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by IceColdVeins(m): 2:37pm On Nov 30, 2020
You don't mean it
ProfAmaben:


Congratulations to him. I'm an advocate of technology and not a fanboy since technology is just a tool utilized in solving problems. You asking me to build a WordPress theme from scratch is like me asking you to use JavaScript to analyze topological features using synthetic aperture radar interferometry and rendering the result with React.

We should all pat ourselves on the back regardless of tech stack or framework. Someone lost his life in Arkansas over Angular vs React fight, say no to fanboyism. Shalom.

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Nickisindigo(m): 2:41pm On Nov 30, 2020
TriCee:
I wish I can contribute to this sort of nice thread. By January, I should be able to. Thanks to you guys that always bring informative posts here.

� are you learning then or what?
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Yankee101: 2:51pm On Nov 30, 2020
PHP Is good for web development.
Node js gives you a gateway into the world of Javascript. The backbone of applications worldwide.

So if web dev tire you, you fit EASILY switch to app dev using Javascript.

I guess that's the reason for the new shift

2 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Quicksilver14: 2:57pm On Nov 30, 2020
fnep2smooth:
I will advise you to learn PHP After you understand it better then go into Laravel. If you need more advance programing go into Python and learn it for a month then migrate to Flask.


Thank me later.









I build website. Black Friday PROMO
Pay when the job is completed.

Nice. But from research, django has more features than flask.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by fnep2smooth(m): 2:58pm On Nov 30, 2020
Quicksilver14:


Nice. But from research, django has more features than flask.
Nope... Pls research well
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by OAUTemitayo: 3:01pm On Nov 30, 2020
AntiWailer:


Bro,

I have said this 10 years ago and still repeating it.

Don't waste Ur time learning PHP.

Tell me the enterprise environments using PHP in Nigeria.

I can tell you Banks , Telecom, Fin Techs don't use PHP.

If you know any and the product built with PHP. I am happy discuss.

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.

5 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by dometome: 3:02pm On Nov 30, 2020
All these bickering are done by charlatans who don't know what they are doing. OP. Learn any one of the languages, spend time doing It, become conversant with it. You will need a month or a month and a few weeks to learn another language. They are all almost the same thing. For example, for loop, if statement, are basically very similar, even in C++.

4 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Quicksilver14: 3:06pm On Nov 30, 2020
fnep2smooth:

Nope... Pls research well

Oh wow. That made me pick django instead of flask.
Just Google "flask vs django" and read the small pop up box.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by uchennaq(m): 3:09pm On Nov 30, 2020
Oga who told you that php is not considered as the best back end for web development? Better go and be a master on php first so that other programming languages will be easy for you. If not OYO for you.

3 Likes

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Nobody: 3:13pm On Nov 30, 2020
ProfAmaben:


The way some of you bad mouth tech stacks amaze me. Why would someone wake up one morning and say that the Mern stack is the worst for newbies? The Mern stack is where the job is at the moment all over the world except Nigeria where they love WordPress. If you have any dreams of relocating abroad and don't know Mern, sorry.

I'm not a newbie in anyway too, no need telling me to learn React. I eat, dream and breathe React.

What's wrong with mongoDB noSQL? What's wrong with node? Funny php fanboys.

Learn me tap from your experience pal...I have one time used MySQL a lot and I thought that was the ultimate in terms of database. I recently picked nodejs, thence, a NoSQL engine for my database, I chose MongoDB. I found MongoDB so easy and very flexible to use. My question is, can I at all use MongoDB to handle heavy traffic database like MySQL?
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by TriCee: 3:15pm On Nov 30, 2020
Nickisindigo:


� are you learning then or what?
Yes, will have more time then.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by ProfAmaben(m): 3:24pm On Nov 30, 2020
donproject:


Learn me tap from your experience pal...I have one time used MySQL a lot and I thought that was the ultimate in terms of database. I recently picked nodejs, thence, a NoSQL engine for my database, I chose MongoDB. I found MongoDB so easy and very flexible to use. My question is, can I at all use MongoDB to handle heavy traffic database like MySQL?

Yes, why not? Firebase was built using mongoDB and it is highly scalable. It makes development easy also because of its elimination of SQL in development. No more SELECT * FROM schema WHERE .....
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by ProfAmaben(m): 3:28pm On Nov 30, 2020
zeestone99:


Hello are you into mobile app too

No, just Web applications.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Karleb(m): 3:29pm On Nov 30, 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.

cheesy

I am waiting for the guy's reply to this.

I remember when I told someone www.abeg.app was built with PHP, the fellow sha kept mute.


They all want to kill PHP by force.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by ProfAmaben(m): 3:33pm On Nov 30, 2020
tosinhtml:


Actually YES. PHP is slow, but Wordpress is madddddd slow.

If you do a little research, you will find out that most themes comes with unnecessary clog of scripts & styles. Once you remove all that & only include what you want, meaning maintain only your custom built HTML website styles & scripts, It works like magic.



Hmm is this the major reason though? PHP is actually dying a natural death, I mean we have GO, Ruby which people still learn & use daily with growing numbers & they are only Backend.

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.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by zeestone99(m): 3:33pm On Nov 30, 2020
ProfAmaben:


No, just Web applications.

Ok boss
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by melodyogonna(m): 3:33pm On Nov 30, 2020
PHP used to have a messy syntax, that's why people usually do not recommend it but that has been fixed since PHP 7, you can learn it if you want.

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by zeestone99(m): 3:33pm On Nov 30, 2020
Who is into kotlin. Mobile app
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Nobody: 3:34pm On Nov 30, 2020
ProfAmaben:


Yes, why not? Firebase was built using mongoDB and it is highly scalable. It makes development easy also because of its elimination of SQL in development. No more SELECT * FROM schema WHERE .....

Thanks...that will set me free, I love this NoSQL already
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Xchanged: 3:43pm On Nov 30, 2020
One major advantage of using JavaScript full stack is the flexibility of working with just ONE programming language to develop both front end and back end, It saves you from the stress of moving from one language to the other during development. You only write in in one language.

PS: This does not mean Node.js is better than PHP.

1 Like

Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by Godada(m): 3:55pm On Nov 30, 2020
devfolorunso:


Well, that is because there other options like node js, go, and c#.

But I'll say that everything depends on the application's requirements.


Thanks
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by vioment: 4:25pm On Nov 30, 2020
Am a node and vue guy.

S/o to php.
Re: Why Is PHP Not Considered As A Best Backend For Web Development Again by teewhydope(m): 4:31pm On Nov 30, 2020
IceColdVeins:
Django is cool but not that relevant especially in this part of the world. As outdated as php may seem, it still rolls in more cash than django or javascript.
Check the statistics on upwork please unless you are just a hobbyist

in nigeria you mean. check out foreign adverts to discover how much python/django is sought for

(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. 42
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.