Earlier quoted context omitted.
Any server-side language with your favorite web-framework and HTML templates system. Static files, PHP, Go, Ruby, ASP.NET Core, Spring etc, as long as you can send HTML pages and HTML partials, you are all set
Thanks. So a static site, on neocities.org, for instance can serve files in response to requests such as the examples using hx-swap="outerHtml". Is there a simple example of a static site using Htmx somewhere?
Htmx is part of the GitHub Accelerator
271–280 of 520 posts
Re: Htmx is part of the GitHub Accelerator
#272Earlier quoted context omitted.
What plans do you have for 2.0?
No major changes, it should be about 99% API compatible with htmx 1.x. Big things: - Websocket & SSE support will be completely pulled out to extensions (already available in 1.0) - We will drop IE support - We may include a "morph" swap strategy based on idiomorph ( https://github.com/bigskysoftware/idiomorph/ ) - We will change a few defaults around how HTML is parsed, taking advantage of the removal of IE support…
And on that note do you think that a smaller striped down version of HTMX is feasible like petite-vue is for vue
Re: Htmx is part of the GitHub Accelerator
#273Great news. I have had good success and a rewarding experience using htmx the past year. It has been so great in tandem with Clojure using hiccup for SSR. Once htmx clicks for you, you are almost left stunned by how simple and flexible it is. You can't believe that this isn't how HTML evolved to as a hypermedia. It becomes very obvious that this is how web development should have evolved. I hope someday that what htm…
Out of curiosity, I presume you were working on the frontend part using Clojurescript? Have you used some kind of wrappers around htmx or just a simple js interop was enough?
Yeah, so moving to htmx has allowed us to jettison ClojureScript which just entailed too many parts. As a matter of fact, before going more htmx with our projects, we had moved away from ClojureScript to React directly.
Re: Htmx is part of the GitHub Accelerator
#274hi 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…
Re: Htmx is part of the GitHub Accelerator
#275Earlier 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
almost all secular people do in fact believe in objective morality to some degree, though you can occasionally find a pure moral relativist or legalist remember that the holocaust, the great leap forward, gulag, the imprisonment of galileo, daily human sacrifice to the aztec sun god, and witch-burnings in the spanish inquisition were not just legal but legally required therefore, anyone who condemns one of them is ap…
Re: Htmx is part of the GitHub Accelerator
#276Earlier quoted context omitted.
Generating some HTML instead of JSON isn't that much data/CPU. But doing all that in the browser might have a big impact on UX performance-wise.
This doesn't make sense. Can you elaborate? If it's not much work for the server, why would it be work for the browser?
Re: Htmx is part of the GitHub Accelerator
#277Earlier quoted context omitted.
Arguably you’ve got to learn HTML, so why then add learning React/etc on top of that? HTMX is more limited, but also _radically_ simpler to modern frontend development.
People want and expect pretty and interactive experiences. I don't think they care how they get there. I've written some Unity "web" apps by using the port to webgl feature, so I have no deep fondness of html or js. I just need results.
Re: Htmx is part of the GitHub Accelerator
#278Re: Htmx is part of the GitHub Accelerator
#279I've been a HTMX fan "since before was cool".. Very happy for the recent attention and "success". Also enjoying the shitposting and backlash mostly from the front-end crowd who believe the Web was invented in 2013 and they "made that city". :) I'm biased since the time Backbone.js came around, I understood part of the pain but was moderately skeptical, fast forward to React with the young energetic bros building dead…
Many of the ideas and concepts in htmx are things we worked on starting around 2012 at a top tier investment bank. Implementation details differ quite significantly, but the idea of hypermedia driven applications was core to everything we did. We unfortunately weren't able to win hearts and minds around these concepts in the long run, and blog driven development (a.k.a. cargo culting) replaced our efforts. I feel som…
Ironic considering what the OP attributes to HTMX's current popularity.
Re: Htmx is part of the GitHub Accelerator
#280If you think htmx is cool, check out _hyperscript https://hyperscript.org/ . Made by the same people, available with htmx I believe. After seeing _hyperscript, it looks like they may have invented that first, and a lot of people's heads exploded, so they decided to try to make a "gateway drug" to sneakily introduce _hyperscript, and came up with htmx.
:) hyperscript came after htmx htmx is version 2 of intercoolerjs: https://intercoolerjs.org which had a proto-scripting language in it, the `ic-action` attribute: https://intercoolerjs.org/attributes/ic-action i dropped that attribute (along w/ the jQuery dependency) when I created htmx, but I felt there was some merit to the idea of a lightweight scripting language that abstracted away async behavior. Once htmx had…