Live data from Hacker News

Htmx is part of the GitHub Accelerator

htmx.org

471–480 of 520 posts

Re: Htmx is part of the GitHub Accelerator

#471
post #208

Earlier quoted context omitted.

That's not my experience based on two scenarios: 1. Server-side rendered sites in Python using either Django or FastAPI/Jinja2 and htmx; 2. Dotnet back end with Angular front end. In practice - for the apps I've been involved with - option (1) provides a more than acceptable user experience. There's no doubt Angular can go beyond the capabilities of SSR+htmx. But, in practice, it's in the long tail. Throw in the odd…

Not sure you've solved the complexity when you've just slotted in another front to a general solution that is over-engineered. You could have replaced either scenarios with a single NextJS or SvelteKit solution. Go above and beyond in "complexity", write your Node backend (keeping it one language, JavaScript), and use vanilla HTML and JS to consume that. To me, htmx isn't as revolutionary as people make it out to be,…

> You could have replaced either scenarios with a single NextJS or SvelteKit solution.

But then I would be using only JS. I want a backend to be something else so that I don't go insane.

Re: Htmx is part of the GitHub Accelerator

#472
post #376

Earlier quoted context omitted.

Are you also the writer of https://grugbrain.dev/ ?

yes :)

"danger, however, is agile shaman! many, many shiney rock lost to agile shaman!

whenever agile project fail, agile shaman say "you didn't do agile right!"

LOL

Re: Htmx is part of the GitHub Accelerator

#473

Earlier quoted context omitted.

I don't think that secular society posits some kind of natural inalienable objective moral law. I'm sure you know this but many, many people do not believe in objective morality

The idea of rights can be seen to emerge in large part from multiagent decision theory. This should not be surprising because moral intuitions arose as humans evolved living in groups. http://www.daviddfriedman.com/Academic/Property/Property.htm...

Sure but that doesn’t imply that it’s objective. I mean, I think there are two levels of objective: objective among humans, and objective among the universe. I don’t know any secular person who believes that morals fall into the latter category. As for the former, I don’t think anyone can suggest that the (lack of) a right to privacy falls into in that

Re: Htmx is part of the GitHub Accelerator

#474

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.…

I am fully on board with htmx but hyperscript doesn't necessarily interest me. The htmx side doesn't care even one bit what client-side interactivity you use at all, so it's not really material to whether htmx can be useful for you. Personally, if I am trying to keep JS build tools and stuff out of the equation I'll go with htmx + Alpine.js.

Re: Htmx is part of the GitHub Accelerator

#475
post #170

Earlier quoted context omitted.

I can only see that experience being true if you've never used jquery (aka the same shorthands you're relying on within htmx and likely hyperscript).

My frontend experience predates the rise of react etc. I have used jquery. The advantage of htmx over jquery is declaring the replace condition & behavior inline as part of the component. Conceptually this is easy to reckon with as a separation of concerns thing as well as a sandi metz-ish "when would this code need to be changed" thing. The html tag is responsible for its own update, and so its update is part of the…

Most of my experience using jQuery was on sites that required progressive enhancement, and the easiest way to do that was to create an htmx-style framework anyway.

Re: Htmx is part of the GitHub Accelerator

#477

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…

can htmx work for restful backend that requires client side rendering and routing? my understanding is that htmx only fits for server side rendering such as Django.

Re: Htmx is part of the GitHub Accelerator

#479

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…

can htmx work for restful backend that requires client side rendering and routing? my understanding is that htmx only fits for server side rendering such as Django.

HTMX pulls text from your backend, so normally folks serve HTML snippets... but you could have a bit of js that takes JSON and turns it into HTML in the browser, and HTMX will pull the JSON (or any other text) into the browser, so you could still use it with a JSON api, if you wanted to

I use DRFs renderrers so my Django backend can render either JSON or HTML, so my API is still "restful", it just serves HTML to clients that request HTML like browsers with HTMX and JSON to other clients that request JSON.

Re: Htmx is part of the GitHub Accelerator

#480

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…

Does unpoly try to solve the same problem and how does their approach differ compared to htmx?

Curious to hear thoughts, I haven't done web in a while, so understanding your thoughts might help understanding the whole thing better.

Post reply on HN