Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

tsonfeir, to php in Why PHP Usage Has Declined by 40% in Just Over 2 Years
@tsonfeir@lemmy.world avatar

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

tsonfeir, to php in Why PHP Usage Has Declined by 40% in Just Over 2 Years
@tsonfeir@lemmy.world avatar

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.

tsonfeir, to php in Why PHP Usage Has Declined by 40% in Just Over 2 Years
@tsonfeir@lemmy.world avatar

PHP is great when you use it right. The problem is, most people don’t use it right. That old way of rendering html through PHP, or worse, injecting PHP into html, is antiquated.

IMO, PHP is a great language to use for making your backend API. Use whatever flavor of the week on your front end.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • meta
  • Macbeth
  • All magazines