Issue № 4: I Don’t Speak German But I Can If You Like

Deniz Akşimşek

Commspace became the first corporate sponsor of htmx

extremely thankful to announce the first corporate sponsor of htmx & hyperscript:

@commspaceapp

thank you to @jvosloo and the whole commspace team!

💙 The founder of Commspace is Johan Vosloo, who is also a supporter of the Week.

https://www.commspace.co.za

https://github.com/sponsors/bigskysoftware

https://thisweek.htmx.org/support

Michael Anckaert used htmx for a CI/CD service

I picked server side rendered HTML as the main technology for the user interface. Thanks to HTMX I was able to add some nice interactivity and UI / UX improvements without having to resort to a large scale framework such as Vue or React. Using HTMX makes me very productive on the frontend, which as a more backend leaning developer is a big bonus. Read more about HTMX and HTML over the wire concepts.

https://sinax.be/blog/general/pipeliner-a-cicd-pipeline-runner.html

An htmx meetup in Chemnitz, Germany is coming up

25 Nov, 19:00–21-00, Q-HUB GmbH | Innovation & Startup Space Chemnitz. Thomas Güttler will be speaking!

https://www.meetup.com/de-DE/Web-Developer-Chemnitz/events/281827325/

Daniel shared an (unreleased) htmx library for F#

Daniel - East TN This is not quite ready for release, but all that I have left is packaging and automation for its first (pre)release. https://github.com/bit-badger/Giraffe.Htmx

It’s the shared library result of my experiment, already fielded, in converting a Vue application to an “htmx SPA”. The README describes it and has examples. It brings htmx awareness to Giraffe (the F# web server that sits atop ASP.NET Core) and its view engine (which produces HTML via strongly-typed functions).

Once I get this (pre)release done, I’ll be ready to start on the (promised, and intro post already drafted) write-up of how it went. 👑 2

1cg vue to htmx experience! Very much looking forward to hearing how it went! 👍 3

💬 November 3, 2021, 2:14 AM UTC

So am I, Carson! My sources tell me that the library will be released soon™.

https://github.com/bit-badger/Giraffe.Htmx

@aarroyoca used htmx with Prolog

First public demo of Teruel + Scryer Prolog + htmx: The Dice Webapp

https://github.com/aarroyoc/teruel/tree/main/examples/dice

https://twitter.com/aarroyoca/status/1456374701572468740

How to submit data from a form in _hyperscript

Deniz Akşimşek should be a matter of

make a FormData from #form
fetch /url { method: "POST", body: result }

in the upcoming release it will become

make a FormData from #form
fetch /url with method: "POST", body: result
💬 November 2, 2021, 5:29 PM UTC

https://hyperscript.org/commands/make

https://hyperscript.org/commands/fetch

https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData

https://developer.mozilla.org/en-US/docs/Web/API/fetch#parameters

_hyperscript vs Alpine.js

Deniz Akşimşek ↪ Re. Rashad For those that have used hyperscript and Alpine.js with TailwindCSS… Microinteractions are one of the main use cases for _. Alpine fixes the “where’s that event listener” problem, but does nothing about the DOM APIs.
I think alpine is better for larger components like data tables, because of x-for and reactivity. For microinteractions, you will need to manipulate the DOM directly a lot more, which is a dream in hyperscript.

💬 November 5, 2021, 6:07 PM UTC

Editor’s note: Let me make it clear that this is not a dig on Alpine in any way. I gave my personal opinion to help people decide what to use. We’re volunteer-run free software projects with a lot of shared goals. 💙

a Hotwire-like library based on htmx?

gone Is there any desire to make a hotwire like lib that uses htmx?

gone Hotmx 👍 1

KevinS Just on the name alone it should be built, doesn’t matter if it meets a demand the name is too good 😄

1cg hotmax 🔥 3

Atem hxwire

💬 November 5, 2021, 2:20 PM UTC

Would you use that? Let us know.