DEV Community

Discussion on: "Is PHP Dead?" Discussion

Collapse
 
jochemstoel profile image
Jochem Stoel

...but the creators of PHP did not initially build it for this reason.

Yes, but?

PHP comes with the simplicity of releasing websites. That was the main goal of the language itself, which is mostly forgotten. In today’s world, PHP still runs 78% of the entire internet because of this simplicity.

PHP was originally created to be a template engine and that is what it fundementally still is. Yes many template engines and frameworks have been built on top of PHP since, each offering some higher level abstraction or Model View Controller like shabang. Its simplicity is not the (only) reason it is still so widely used.

Let’s face facts: Wordpress is still the de facto leader of the web. Most content creators use its weird admin interface every single day. Nine out of ten news websites in today’s world draw their strength from this CMS.

78% of websites uses PHP currently and 9 out of 10 websites uses Wordpress? I am very curious where you get your stats.

...content managers don’t know and don’t give a f*ck if the language behind their beautiful admin panel is PHP or not.

That is a very true statement but you don't want to just please the content manager. You also want to take into consideration how compatible your methods are with other developers in the possible future.

The question whether PHP is supposedly dead or not is ultimately meaningless, depending on what level of analysis you want to answer the question. It's something mostly inexperienced developers like to have an opinion and argue about. I encounter people that get into the exact same discussion about jQuery. Nobody uses jQuery anymore. we have Web Components now!

Collapse
 
actuallymab profile image
Mehmet Aydin Bahadir

Thanks for your comment!

At early times, PHP's simplicity to create websites made itself the most used server-side programming language. Of course, there were some architectural implementations after PHP became popular. Therefore PHP itself still keeps its leading position even backends are not simple templating engines anymore.

We are on the same page with you about continuous support of development. Of course, the only concern should not be all about making users or editors happy and shipping things fast. You also should not be the person who writes that spaghetti codes around, as I described in the article. But this is all about the development skills of you. It's not much to do with PHP itself.

Collapse
 
jochemstoel profile image
Jochem Stoel

I think you misunderstand what I said though, which is that PHP was designed to be a template engine from day 1.