DEV Community

Discussion on: IS PHP Dead?

Collapse
 
mjablecnik profile image
Martin Jablečník • Edited

My opinion:
Yes PHP is not Dead but for example Perl is also not dead or Delphi is still actively used and Fortran's last stable version is from November 2018. So is it Dead? NO!
What people means by "Dead" word is not about that it is not used or language doesn't have some updates. But how language is popular in mainstream and how is attractive for beginning developers.

During years 1990-2000 was PHP very attractive because no other language supported creating scripting for web pages on server side.

During 2000-2010 was swill popular because had a big community of developers and with this language was developed a lot of projects.

But during 2010-2020 popularity is declining because here is: "JavaScript with node.js" which is replacing "JavaScript with PHP" and developers doesn't want to learn two languages when they can learn only one. Which is good for beginning developers. And popularity of JavaScript is same as PHP (maybe also greater).

Also we have here some other languages with their popular web frameworks: Python/Django or Ruby/Rails
So why beginning developers should learn PHP/Laravel when we have here a lot of alternatives? What PHP have and other doesn't have?
Maybe a bad reputation from history or different syntax which is a lot different compared with other popular languages..

Maybe for some skilled developers like you PHP isn't dead and it's still improving (and it is good because you still have some work) but for others right now exists same or better alternatives then in 90's years.. :)

Collapse
 
bjornhauge profile image
bjornhauge

Do you use Dvorak keyboard?

Collapse
 
joemoses33 profile image
Joe 🏴󠁧󠁢󠁷󠁬󠁳󠁿

I really like that view!

I definitely agree for the most part. Competition is fierce, but I strongly believe PHP has it's place and will for a very long time. Career wise, I am putting all my eggs firmly in the PHP basket - because, really, in an agency environment, PHP is now, and will be the most cost-effective solution for a good few years to come in my opinion.

The ability to easily bootstrap an entire application, be it in Laravel, Cake, or a content focused brochure in WordPress makes it very valuable, when you're working against harsh timelines.

It's very interesting seeing JS grow on the backend - from what I've seen and experienced (2/3 years ago), it was quite a pain to ship a JS backend. Is that still the case?

Thanks :))

Collapse
 
mjablecnik profile image
Martin Jablečník

This your words can say also other developers from other technology stacks. For example Python/Django is also very simple to bootstrap an entire application with Django CMS or Wagtail, or Ruby/Rails with some their RefineryCMS or LokomotiveCMS.

And I agree that JS grow very rapidly and there is a lot of libraries or frameworks but it is thanks the great community around JavaScript/TypeScript and node.js
And situation now can be very different that 2,3 or 5 years ago..
Now you can see that developers are very satisfied there with express.js or next.js for long years: 2020.stateofjs.com/en-US/technolog...
Of course if you have some bad experience for example with meteor or something similar so I understand it but evolution is still in progress.. :)