or maybe we could do this revolutionary thing where we use code on the server side to generate different HTML for different requests!!!
we've come full circle <3
or maybe we could do this revolutionary thing where we use code on the server side to generate different HTML for different requests!!!
we've come full circle <3
I think re-rendering headers, menu and footers for CRUD applications on every page change is suboptimal for CRUD web apps.
An easy win is to replace just the page main content and keep headers, menu and footers between navigations in the system.
Okay, but, like, how much worse is it to re-render the whole thing? And it's not like Turbo hasn't been around for more than a decade, doing exactly that, for free, automatically.
That's a very good idea, and exactly what HTMX (and similar implementations) do.
Rails and Laravel devs happily still live in this world a lot of the time :-)
Perl CGI FTW! :-D