DEV Community

Cover image for So... Is this PHP's Redemption? ๐Ÿ˜ณ

So... Is this PHP's Redemption? ๐Ÿ˜ณ

Fabian Reinders on May 13, 2023

Is PHP rising from the dead? Unbelievable yet true... PHP is trending on social media. // Detect dark theme var iframe = documen...
Collapse
 
mario_d profile image
Mario D

Im a big fan of PHPโ€™s simplicity, writing in it is a joyful to me and I barley ever end up stuck or limited by it. Especially because its so easy to extend.
It has been built for the web, but I hope with newer version and fingers crossed proper threading support at some point in the future, it can become a more general purpose language, and also be accepted as such.

This is kinda a shameless plug, but you can do things with PHP besides websites, apis and command line apps. Ive been working hard on bringing realtime games to PHP:
github.com/phpgl/php-towerdefense

Collapse
 
abc_wendsss profile image
Wendy Wong

Thanks Mario for sharing your Github page on PHP! :)

Collapse
 
fabiancdng profile image
Fabian Reinders

Wow! Thank you a lot for sharing this, really interesting. ๐Ÿคฉ
And lovely project!

Collapse
 
abc_wendsss profile image
Wendy Wong

Thanks Fabian, well written article on PHP! :)

Thread Thread
 
fabiancdng profile image
Fabian Reinders

Thank you, appreciate your feedback! :)

Collapse
 
xwero profile image
david duymelinck

Great that a mainly javascript developer sees the value of PHP as a modern language!
But I'm sorry to read you are using Wordpress as an entry into the PHP community.

Wordpress doesn't use any of the standards that are common in the PHP world.
Their composer file is only for development purposes, which means they don't use any of the knowledge that is contained by the packages provided by the community.
It recommends a version, 7.4, that was end of live november 2022.
And there are many more flaws with Wordpress from a developers view.

Try Sulu, Statamic, Drupal if you want a free solution. If you want more simplicity and are willing to pay try OctoberCMS.
These CMS applications are more enjoyable as a developer to work with.

This is by no means a fanboy comment against Wordpress. I just dislike the way Wordpress demonstrates the use of PHP without most of the good things that are in the new versions. It is like using XMLHttpRequest instead of fetch in javascript.

Collapse
 
lexiebkm profile image
Alexander B.K.

PHP + Laravel + React is my current stack.
However, for backend, I am also interested in using Node.js (esp with Express), Go aka Golang (with Echo, Fiber or Gin or without framework), Java (with Spring or JEE) and C# + .Net. Currently I am learning them.

Collapse
 
fabiancdng profile image
Fabian Reinders

Awesome tech stack! Thank you for sharing! ๐Ÿ™‚
My tech stack is mainly JS + React/Next.js + Go. But I've been working as a WordPress developer for the past year or so. My experience with PHP has been great so far but I think PHP development really shines when developing with Laravel.
Looks like such an awesome framework to work with! ๐Ÿš€
Definitely need to get into Laravel in the future.

Collapse
 
jonrandy profile image
Jon Randy ๐ŸŽ–๏ธ • Edited

PHP's name later evolved to something more fancy, of course ๐Ÿ˜… - "Hypertext Preprocessor".

Almost, you missed the "P". PHP stands for PHP Hypertext Preprocessor - a recursive acronym.

Collapse
 
fabiancdng profile image
Fabian Reinders

That's correct, of course! Thank you for the heads-up, appreciate it!

Collapse
 
lexiebkm profile image
Alexander B.K.

I am expecting PHP will adopt Promise, Async-Await like in Javascript. And... generics too, like in Java or C#.