this post was submitted on 16 Jun 2023
96 points (100.0% liked)

Programming

13368 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I don't know if it's due to over-exposure to programming memes but I certainly believed that no one was starting new PHP projects in 2023 (or 2020, or 2018, or 2012...). I was under the impression we only still discussed it at all because WordPress is still around.

Would a PHP evangelist like to disabuse me of my notions and make an argument for using PHP for projects such as Kbin in this day and age?

you are viewing a single comment's thread
view the rest of the comments
[–] artillect@kbin.social 18 points 1 year ago* (last edited 1 year ago) (2 children)

I don't know too much about PHP (aside from it getting memed on constantly), but kbin is built using the Symfony framework, which is really performant and mature based on what I've heard from others. Also, apparently ~80% of all websites (that W3techs knows about) rely on PHP in some way

[–] agressivelyPassive@feddit.de 6 points 1 year ago (2 children)

The 80% stem mostly from WordPress and a bunch of domain placeholders.

[–] ipkpjersi@lemmy.one 5 points 1 year ago (1 children)

Sure but there's also Pornhub, Wikipedia, and Facebook which use PHP. Other large websites use PHP too.

[–] agressivelyPassive@feddit.de 3 points 1 year ago

Facebook doesn't really use PHP, but Hack, which is afair a PHP dialect and runtime/compiler.

[–] YMS@kbin.social 3 points 1 year ago

WordPress, Joomla, Typo3, Drupal, ... PHP is pretty much omnipresent in CMS systems. It's not a huge number of different PHP CMS, but it results in a huge number of websites being PHP-based. The vast majority of those websites don't care for the programming language - they pick an existing CMS so they don't have to do their own programming.

[–] Scrappy@feddit.nl 1 points 1 year ago

Youre interpreting those statistics wrong. Those statistics refer to website using server side rendering, not all websites in the world. So the correct statement would be that 80% of server side programming languages used for websites is written in PHP.