HNHacker News
TopNewBestAskShowJobs

arbenpurben

54 karma · joined December 26, 2021

submissionscomments
arbenpurben··on Is htmx Just Another JavaScript Framework?
Um, yes friend, that’s exactly what it’s trying to be. Carson has said numerous times that in an ideal world, the html spec would evolve to the point the htmx becomes redundant. It’s not about htmx or any library/framework - it’s about extending html.

If that doesn’t convince you, then I’ve got nothing and suggest we both just go and enjoy some lazer horse/buffalo/pickle memes in the htmx twitter account

arbenpurben··on The Grug Brained Developer
This makes me so happy
arbenpurben··on A clean start for the web (2020)
This. This gets us 98% of the way. The people that have to worry about the 2% are not you, because your web app almost certainly doesn’t need offline-first of FPS-like user interaction, so in 98% of cases, hypermedia + tech like htmx gets you 100% of the way.

For pete’s sake, just let your server serve html. Replace only the parts of the page that need to update… with html. From your server. The poor thing is just sitting there, idling, bored, borderline depressed because it doesn’t get much of chance to do what it is meant to do, which is, you know… serve. “But it serves JSON” … is like buying a Bugatti Veyron, just to park it in your garage and use its exhaust fumes to dry your clothes 6 days of the week, with a 2 minute drive around the block on Sundays.

arbenpurben··on The Hypermedia-Driven Application (HDA) Architecture
Be the change you want to see in the world :)
arbenpurben··on The Hypermedia-Driven Application (HDA) Architecture
Damnit, I hate it when other people are more eloquent and on the money than me.
arbenpurben··on The Hypermedia-Driven Application (HDA) Architecture
I mean this sincerely: can you demonstrate how using React et al for 95% of web apps (not talking about highly interactive stuff, offline-first or other special cases) was at all a step forward for web apps, OTHER than eliminating full page refreshes and thereby improving UX? Nevermind developer experience, although that is more subjective of course. The "decoupling" and "single JSON-based REST API for all clients", etc. arguments are nice in theory but impractical in reality. By all means have a JSON-based API for exactly that - application programming interfaces, not human-consumable interfaces. I would argue the development, deployment & maintainability complexity of those SPAs can not be justified for most web apps, if you are able to offer the essentially the same UX benefits with an HDA approach.
arbenpurben··on The Hypermedia-Driven Application (HDA) Architecture
Thanks!
arbenpurben··on The Hypermedia-Driven Application (HDA) Architecture
We have htmx & hyperscript running in production powering a fintech saas. It is fantastic in the way that all really good technology is: it just does what it's supposed to do so simply and efficiently that you kinda forget it's there, so you end up spending time where it counts (UX and business logic), instead of fighting finicky frameworks. No-one in the real world cares about the supposedly great framework powering a web app - they just care that the app is fast, easy to use and saves them time and money.