To me, JS and PHP do different things at different times. For instance, I don’t use PHP to modify the DOM after a page is loaded. That’s a job for javascript. I also tend to use PHP for on-entry DB calls; it’s more straightforward (to me) than using AJAX, which would require a PHP server script anyway.
I feel like on the server it barely matters, PHP and JS (no de/deno et al) are both solid choices. What’s getting tired are sites that over reliant on client-side JS. There’s less and less need for that these days.
To me, JS and PHP do different things at different times. For instance, I don’t use PHP to modify the DOM after a page is loaded. That’s a job for javascript. I also tend to use PHP for on-entry DB calls; it’s more straightforward (to me) than using AJAX, which would require a PHP server script anyway.
I feel like on the server it barely matters, PHP and JS (no de/deno et al) are both solid choices. What’s getting tired are sites that over reliant on client-side JS. There’s less and less need for that these days.