Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
161–170 of 216 posts
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#162Earlier quoted context omitted.
How is htmx ‘just as JS compute heavy’? It’s doing way less than your average SPA. Have you seen the sizes of the JS bundles of popular SPAs? They make htmx look microscopic in comparison.
It's a 14kb library that invents its own templating syntax and DSL and also requires the backend to conform to its DSL. Yes, it's smaller than some other frameworks, but let's stop with "doesn't require JS" nd other bullshit
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#163I've been using htmx for three years now, and it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. But more importantly (as this "Game Boy" option reveals), the head honcho is really responsive with the items in the store. I had purchased a coffee mug a few years back and complained on Twitter that they need to sell larger mugs instead of only of…
> it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. Could you please expand on this point. As a “greybeard” web dev from the 2000’s era, I’d like to understand if your “unlocking” is my “that’s how it originally worked, get of my lawn”?
It's bringing us back to that sort of web development but with modern tools and technology.
For the server side, we can use modern languages with better templating for html.
For the client, with htmx, you can do a lot of javascript such as ajax calls (load, trigger, etc) without writing javascript. With htmx you specify what you want to do inside html attributes.
So my actual javascript code ends up minimal.
I have been doing website dev since 2008. I've worked with PHP, C# (WebForms, MVC), a bit of python... not to mention maintaining an old website in Classic ASP.
2008-2010 I used C# WebForms. I didn't like it, but we still kept it simple, returning data from server side to html.
2010 I started to enjoy jQuery and saw potential returning data. Opened the door to provide more options for webdev.
Around 2014, I've started disagreeing with "modern website development" learning knockoutjs, requirejs, to eventually angularjs, npm's, etc. Sure, I learned and pushed forward but websites seemed to become more a chore and bloat overtime. Personally, I've not really invested in React.
I was starting to go round full circle to the 'old ways' just with modern tech. To me, htmx just makes webdev even more smoother.
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#164Earlier quoted context omitted.
Tell me about it. I made a joke about the store selling 'Complexity Bad' onesies, and he started selling them later that day. https://x.com/scumitchell/status/1886825775560528069?s=20
This implies it's all dropshipped print-on-demand, of course. Which is fine if you're just considering it a donation incentive rather than a worthwhile product in its own right.
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#165I love HTMX and use it in a few projects, but its amusing how whats old is new again. .NET Framework / Web Forms had update panels to do partial rendering of web pages back in 2005. Outside of .NET developers it got a lot of hate. But to a certain extent HTMX is a super well refined and more capable version of update panels and more.
Even though it’s basically dead tech I can’t bear to throw out my Apress book about it. :)
https://www.barnesandnoble.com/w/foundations-of-aspnet-ajax-...
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#166I love these guys sense of humor in having a HTMX Sucks line in their inventory with literal nice products, like the Christmas jumper...
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#167Earlier quoted context omitted.
How is htmx ‘just as JS compute heavy’? It’s doing way less than your average SPA. Have you seen the sizes of the JS bundles of popular SPAs? They make htmx look microscopic in comparison.
It's a 14kb library that invents its own templating syntax and DSL and also requires the backend to conform to its DSL. Yes, it's smaller than some other frameworks, but let's stop with "doesn't require JS" nd other bullshit
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#168Earlier quoted context omitted.
Htmx is actually quite good at graceful degradation IF you stick to hx-boost for most interactions. See https://dev.to/yawaramin/why-hx-boost-is-actually-the-most-i...
I have learned that whenever anything is "X if Y" it means it is really weak at X and "if Y" is just a workaround. This has saved me a lot of grief in life by identifying my personal emotional attachment to things.
Also, hx-boost isn’t really a workaround, it’s a fully supported and documented feature.
Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#169Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
#170I've been using htmx for three years now, and it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. But more importantly (as this "Game Boy" option reveals), the head honcho is really responsive with the items in the store. I had purchased a coffee mug a few years back and complained on Twitter that they need to sell larger mugs instead of only of…
I have right now a landing page and a NiceGUI dashboard with websockets (but only need SSE, though I need charts).
I am all the time looking at htmx and used to "desktop-like" workflows for UI authoring.
So I went with NiceGUI. But I wonder if or what tasks I could sinolify. My sites are low/middle-traffic.
I do not need any API backend at all, just final user presentation.