Post
jquery.hohli.com
"jQuery with PHP, eliminating the need to worry about transmission, parsing, and other tedious tasks. With this bridge, you can bring the DOM directly onto your server and easily manipulate it in a jQuery-style manner."
When you've done this a long time (over 25 years for me) every time a developer comes up with a whizzy new idea I recognise it from the past - they keep on reinventing the wheel... and won't take no for an answer as 'this time I've got it right!'. This is why old people are cynical.
The first time I heard about “server side rendering” I was like, “Wait what? That’s… just what I did for the first fifteen years of my career.”
Oh I know this one! If you do client side rendering, you can cache all of your server side templates.
The client can make api requests and just hydrate the templates on the client end. This can lead to some blazing fast server response times.
In practice it's only gonna matter at large scales.
Offloading the expense of filling out a HTML template to the client instead of doing it on the server sounds like making a you (server) problem into a me (user) problem.
(The web as an application platform was a mistake.)
Exactly! Honestly it's not too bad, most sites do that already when displaying things from APIs, the idea is you take it to the extreme and do it with everything. It's handy for situations in which a lot of your ui changes with the user -- management systems mostly.
There is a book called “JavaScript: The Good Parts”.
There is no book called “PHP: The Good Parts”.
Contemplate the reason for that.
I programmed countless things in PHP until they pulled the rug ("deprecated") out from under long-running and well-tuned live code and forced a rewrite one time too many
Used to think server-side would be a good idea LOL
Now I'd likely go Javascript on both ends
Client-side PHP sounds fun - All the server side PHP version-dependency hell packaged for the desktop! Brought to you by the responsible for the Cobol Window Manager - CobWM, of course - and the world's 1st feature-complete, CLI-only enterprise payroll app written completely in BAT ™️ 😜
This thread made me sad more times than that thread about that cat getting hurt.
I just live in next land now. Don’t see a need to look back (or forward)
Livewire for Laravel comes slightly close in terms of DX... but it's still server-driven (through a WebSocket connection)
Server side render made easy (RSC) vs I made a language 30 years ago and only two people still maintain it but over half the internet uses it because of wordpress so now we're going to put it in the browser for lawls