this post was submitted on 25 Apr 2024
12 points (80.0% liked)

PHP

543 readers
1 users here now

Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.

Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!

Let's code, learn, and grow together!

founded 1 year ago
MODERATORS
 

In conclusion, it is easy to see PHP in 2024 as the forgotten child of web development, while JavaScript is the most popular kid in class. Sadly for PHP, its decline in usage is unlikely to stop any time soon — why would it, when WordPress developers are busy adapting to a new JavaScript paradigm? But at least there is active development at the PHP Foundation.

you are viewing a single comment's thread
view the rest of the comments
[–] Olissipo 1 points 5 months ago (1 children)

Aren't you only saying, indirectly, that server-side rendering is "antiquated"?

Unless you mean that mixing logic with templates is bad, in which case I agree.

[–] [email protected] 1 points 5 months ago (1 children)

Well, both?

There’s always a use for server rendered html. Maybe JavaScript is an issue. But it’s usually not. The list is pretty short though.

I can’t think of many situations where I would say yes if I asked myself “if you could re-do the system today, would you still choose server-rendered html?”

I’m sure other people have use cases where it would make sense. I build admin utilities and ERP stuff.

[–] Olissipo 1 points 5 months ago (1 children)

That's a valid opinion. And I admit that at some point you must move to some form of client-side rendering.

I still haven't (for some admin panels too, and websites), so I don't feel the need to switch.

[–] [email protected] 1 points 5 months ago

Well, if it ain’t broke, and you’re not getting paid to refactor it, don’t fix it.