Live data from Hacker News

Htmx is part of the GitHub Accelerator

htmx.org

451–460 of 520 posts

Re: Htmx is part of the GitHub Accelerator

#451
post #47

Earlier quoted context omitted.

I hear you're buying a synthesizer and an arpeggiator and are throwing your computer out the window because you want to make something real. I hear that you and your band have sold your guitars and bought turntables. I hear you rewrote your http endpoints to return JSON because that was REST. I hear that you and your band have sold your turntables and bought guitars. I hear you rewrote your http endpoints to return t…

Is this some kind of metaphor?

https://www.youtube.com/watch?v=6xG4oFny2Pk

Re: Htmx is part of the GitHub Accelerator

#452
post #231

Earlier quoted context omitted.

Awesome work! I love the simplicity of htmx. It’s one of those tools that makes me feel super productive. Will there ever be a “htmx“ for building mobile apps?

there already is! https://hyperview.org/ Adam Stepinski, the creator of Hypreview, built it after his experience with intercooler.js, the predecessor to htmx. It is a very interesting piece of technology and, through the magic of HATEOAS, allows you to update your mobile app instantly for all your users, without dealing with the mobile store! There is an entire section on Hyperview, written by Adam, in part three of…

Looks cool but it seems it requires React which makes it a lot more difficult to use than regular HTMX. Form the GitHub repo: “More importantly, the client is designed to be incorporated into an existing React Native project”

Re: Htmx is part of the GitHub Accelerator

#453

hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…

https://twitter.com/foxy4096/status/1691432812870828032?s=20 This is a boon to many django developers. I remember few month ago I was making a post liking system, before htmx, I had to use jQuery to fetch the json api server and update the like count, but with the use of HTMX, oh boy it was like I was just writing plain html along with my django logic. This is one of the greatest thing I've found. Also, handling form…

Anyone using it with Phoenix and want to share their experience?

Re: Htmx is part of the GitHub Accelerator

#454
post #384

Earlier quoted context omitted.

Hello, Maybe stupid question, but what are the downstream implications for folks like Vercel/Netlify/etc. who bet the farm on complex server rendered JS pipelines?

Fuck those hucksters... https://twitter.com/rauchg/status/1619492334961569792

can you epxlain this to the <100 iq

Re: Htmx is part of the GitHub Accelerator

#455
post #453

Earlier quoted context omitted.

https://twitter.com/foxy4096/status/1691432812870828032?s=20 This is a boon to many django developers. I remember few month ago I was making a post liking system, before htmx, I had to use jQuery to fetch the json api server and update the like count, but with the use of HTMX, oh boy it was like I was just writing plain html along with my django logic. This is one of the greatest thing I've found. Also, handling form…

Anyone using it with Phoenix and want to share their experience?

I would think in most cases someone using Phoenix would use LiveView for these sorts of dynamic updates instead of htmx.

Re: Htmx is part of the GitHub Accelerator

#456
post #453

Earlier quoted context omitted.

Anyone using it with Phoenix and want to share their experience?

I would think in most cases someone using Phoenix would use LiveView for these sorts of dynamic updates instead of htmx.

a lot of elixir devs dont even believe in liveview so that's a harder sell than a phoenix backend with some more popular framework on the frontend

Re: Htmx is part of the GitHub Accelerator

#457
I invented this over 10 years ago and called it Pebbles. Got some stars on GitHub. I convinced Memrise to use it in production and it helped them speed up dev a lot.

https://github.com/jperla/pebbles

Later when I worked at Facebook I saw that someone later made a similar library internally.

Re: Htmx is part of the GitHub Accelerator

#458
I like the look of htmx at first but then when I want to do something where I would usually reach for JavaScript (vanilla or framework), such as a dropdown button, I inevitably consider hyperscript and then I see an example like "" and decide I don't like having sentences in code like that and I move on to something else.

Maybe I should give htmx a go without hyperscript or maybe I should give hyperscript more time. But on anything that I'm expecting to be maintaining for years it's just too unfamiliar and I don't want to be stuck with it if I wind up never using it again.

Re: Htmx is part of the GitHub Accelerator

#459

I started with Perl in ‘96 and have lived through what feels like everything — PHP, jQuery, Drupal, Backbone, Node, Angular, ClojureScript, React, GraphQL, and NextJS. Htmx feels like a divergence from the trend, and is worth thinking about. Htmx asks us a good question: “does the complexity of your work reside essentially on the server or essentially on the client?” The complexity for the vast majority of websites r…

Other than not moving away from Javascript, don't React Server Components mostly do what you describe here? A single stack, with both server side logic and client side interactivity?

Re: Htmx is part of the GitHub Accelerator

#460
post #233

Earlier quoted context omitted.

Or it's because you weren't Facebook. Like angular, react got the huge initial boost in popularity because of the brand behind it.

Absolutely, brand recognition is hugely important in whether something's a success. It can also go the other way, great ideas and tooling simply die because the brand is tainted. Not everything Microsoft has produced is terrible, but for a while there it seemed all developers I knew couldn't see past the brand even if the tooling/products/ideas were solid. I feel it's gotten better since Nadella took the reins, but t…

I'd give Microsoft more of a chance, but the way updates and the UI are handled in Windows really puts a sour taste in my mouth. I've heard many good things about stuff like WSL2, PowerShell, and other things that can make Windows feel more accessible for power users, but I'm still looking at a Windows 7 machine without a TPM. I'll be able to update to W10, but after that I'm hosed and have no choice but to 'upgrade' to a chip that has a nanny CPU in it.

If Microsoft provided a Developer's Edition of Windows -- without telemetry and ads -- that also came with access to a knowledge-base of best practices for Windows-based software, and why you want to use each major Windows component, for a flat, one-time fee, I'd strongly consider building things for that environment.

I feel like Microsoft's current approach of buying their way under the free software world via GitHub is kinda scummy, and all that code's now under Copilot and other LLMs. If they were a bit more upstanding and had a clean, mutually respectful business model, I might consider buying their products.

In the mean time, I'd rather use something written by a random hacker, because I can at least read their code, or even hit them up and have a conversation about their project.

Post reply on HN