117
submitted 1 year ago by WatTyler to c/programming@beehaw.org

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?

(page 2) 37 comments
sorted by: hot top controversial new old
[-] farizer@kbin.social 2 points 1 year ago

I know it sounds childish but PHP is lame as hell same as java. Rust or go would have definitely been a cooler choice. I mean PHP gets the job done, but still....

load more comments (10 replies)
[-] iliketrains@kbin.social 2 points 1 year ago

Modern PHP is quite performant and nice to work with and it's still improving! Also frameworks like Laravel is very established.

When comparing the time when I use PHP and JavaScript, I love the simplicity and versatility of JavaScript but PHP's strongly typed (with runtime support) and object oriented language often make more sense imo.

I think the strong benefit of using JavaScript for backend comes down to being able to have unified full-stack codebases, one language fits all kind of thing.

[-] werni@kbin.social 2 points 1 year ago* (last edited 1 year ago)

PHP's strongly typed and object oriented language

man, PHP has come a long way!

[-] mfz@kbin.social 1 points 1 year ago

As a single developer taking on a passion project you go with what you know.

Also it must have been near impossible to have foreseen the insane explosion of popularity that has happened here the last few days.

Even then if you build something for passion you choose something that make you happy to use, however esoteric or impractical that may be to others, or how it would be perceived. Most probably it was never thought to be exposed in such a massive way, and certainly not as soon after the project was started (we're talking month(s) here).

Anyhow, for this project from the looks of it it is working fantastic.

Personally I've not used PHP for years but now I'm actually intrigued to take a new look at it.

[-] I_Miss_Daniel@kbin.social 1 points 1 year ago

I'm kinda impressed that in the four days I've been here, the site has gone from a bit slow and clunky to smooth and reliable. I guess in part that's just how computing speed has improved so much over the years. Even VPSes are cheap. We're not on a 400MHz Pentium II with spinning rust any more, where the idea of going to many thousand users in a short time was clearly impossible. These days things can scale upwards pretty quick.

[-] honeyontoast@kbin.social 1 points 1 year ago

There's a sister project at my work that still uses PHP. It did surprise me, but it's very well written and easy to maintain. I reckon php will be around for a while yet.

[-] kjr@kbin.social 1 points 1 year ago

@WatTyler No really. I have seen that PhP developers are moving to other languages, but at the same time I have been involved in new projects using it (I'm not a PhP developer).

load more comments
view more: ‹ prev next ›
this post was submitted on 16 Jun 2023
117 points (100.0% liked)

Programming

13360 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 2 years ago
MODERATORS