#htmx is one of those web libraries that enables all sorts of HN articles like "I rebuilt my blog using Fortran and HTMX"
how does htmx say i should build dynamic charts?
i was planning to use chart.js to build a custom gantt chart style thing.
but thats a slippery slope leading to more js, libraries, tooling etc.
with htmx do i just render png's? or i guess i could dynamically generate some pretty nice svg's server side ๐ค
Reading about server side events using async iterators in #Django and #HTMX and remembering that in ~ 2000 a couple of us built a web based IRC client specifically for IE4 that received data from a protocol bridge that sent events to the browser by drip feeding them as lines of JS into a script tag in an iframe using a never ending response. Server sent a watchdog and the client would just refresh the iframe if the connection ever closed.
#internetgrandad ๐ด
#django #htmx #internetgrandad
The last couple of months I've been working on a little #rss reader that doubles as a (read-only) #mastodon client.
The UI is closer to a Mastodon/Twitter feed than an email inbox.
I'm still experimenting with it, and it's missing a bunch of basic stuff, but I did add some cool features already, like an embedded reader mode and a send to #kindle button.
It uses #python #flask for the backend and #htmx #hyperscript #bulma for the UI.
#rss #mastodon #kindle #python #flask #htmx #hyperscript #bulma
A Real World #React -> #htmx Port https://htmx.org/essays/a-real-world-react-to-htmx-port/#executive-summary
#hypermedia #html #javascript #webdevelopment #web #webdev #htmx #react
#htmx needs a build system so things get over complicated so people can feel they are real #software #engineers.
#webDev #html #javaScript #hypermedia #webpack #rollup #bun #vite
#vite #bun #rollup #webpack #hypermedia #javascript #html #webdev #engineers #software #htmx
As much as I dig #htmx, I just can't get with #hyperscript
There's WAY too much going on in this DSL
#web #dom #html #hypermedia #webdevelopment #webdev #hyperscript #htmx
My intuition tells me that #htmx's #DOM manipulation attrs will suffice for many dynamic #web behaviors but there's a point where the abstractions will start to leak and you'll want full control over DOM again.
#hypermedia #webdev #javascript #web #dom #htmx
I like #HTMX, but the guy who invented it is being an egomaniac about it on Twitter right now. https://twitter.com/htmx_org/status/1698730817370067031?s=20
I'd also like a really simple "code editor" so people can write json bodies in a non-clunky way. I found this which should work out:
https://github.com/ajaxorg/ace-builds
I'm planning to try to build this with #rust and #htmx so mixing the interactivity of the editor JS + htmx sounds fun :blobfoxlaugh:
> I do not like React etc., because i like LAMP
I'm a LAMP guy from way back, but I feel that Node.js fits where PHP used to just fine.
If you're writing JS on the server you might as well use the same code to render html on the backend as you do in the frontend.
React is just an HTML template engine that works in the browser too. Two birds, one stone!
But if you aren't into the Node.js ecosystem at all, then #htmx is great because there's no build, no dependencies!
I fear that a LOT of people are going to start using #HTMX for the same reason they use #TailwindCSS; it saves them from having to learn a language they don't like. #javaScript #css
#css #javascript #tailwindcss #htmx
Thinking about #htmx:
๐ all the #HTML gets generated on the server; the source of truth.
๐ every #DOM manipulation requires a network request.
๐ #declarative easier to reason about.
๐ app behavior declared in bespoke attribute DSL; harder to reason about.
๐ no need to duplicate #backend state on the #frontend.
๐ no offline support.
#hateoas #hypermedia #webdevelopment #web #webdev #frontend #backend #declarative #dom #html #htmx
@davidshq I dislike it as well. Iโve only ever used it for #htmx but whenever I login Discord tells me about all these great new features and powers and badges and god knows what kind of crap they can think of. Iโd prefer IRC but thatโs getting rarer and rarer these days.