3 ms·
We have a PHP app that doesn't reload the full page. We use jQuery's .load(), which has been around since 1.0: https://api.jquery.com/load/ https://api.jquery.
by lolinder 5y ago
We have a PHP app that doesn't reload the full page. We use jQuery's .load(), which has been around since 1.0:
https://api.jquery.com/load/ https://api.jquery.com/load/
- Graffur 5y agoOkay - build a complex site with JQuery and see how it goes..
- midrus 5y agoThen you can use Livewire, Unpoly, or HTMX. MVC doesn't mean 90s style reloads anymore.
- lolinder 5y agoThat's what I'm saying: I maintain a complex web app that is built with PHP-templated HTML with jQuery sprinkled in as needed to make things more interactive. It's not perfect, but it's a far cry from the nightmare that people always seem to imagine when they think of "the jQuery days". Would I use jQuery if I redid it today? No. But this app does prove to me that progressively-enhanced HTML is a valid path to an app today, it doesn't need to be an SPA.