3 htmx talks were given at DjangoCon US 2021!
The conference over this weekend featured these talks from members of the htmx community:
By the end of this talk, audience members will have a better understanding of what HTMX is, will understand concrete examples of how it can be applied to their django projects, and will have a list of resources for further learning and discussion.
- The current state: […]
- One potential approach: […]
- Feature and approach walk-throughs For a variety of common web application features […]
- Tips, best practices, and pitfalls: […]
I developed my first CGI script in 1998. Since that day I have seen a lot of hypes coming and going.
The talk will consist of three parts:
- My humorous odyssey of trying to find a great frontend framework
- Retrospective: What do I want from the frontend?
- I finally found: HTMX: HTML Fragments over the wire
- How to use HTMX with Django.
Besides simplicity, good Web Vitals performance (SEO) is a benefit of this method. The talk will express my personal opinion, feelings and fun. It won’t dive into technical details.
In this talk we will revisit the basics of REST (REpresentational State Transfer), a term coined by Roy Fielding to describe the web network architecture, in contrast with older client-server network architectures. In particular we will focus in on the “Uniform Interface” constraint and get to the bottom of what that means, discussing each of the following:
- Resource identification in requests
- Resource manipulation through representations
- Self-descriptive messages
- Hypermedia as the engine of application state (HATEOAS)
with a particular focus on the last two.
Recordings are available at the DjangoCon US YouTube channel.
💙 to DjangoCon organizers & the whole Django community!
Rashad started a lovely conversation about Haskell & htmx
The conversation is quite long, so I’ve put it inside this convenient
monadposting on main
tinycode2 talked about using htmx with microfrontends
Daniel made Bootstrap modals work with htmx
We’re excited for it, Daniel! No pressure though…
An inconsistency in _hyperscript syntax was fixed
send command can dispatch events on other elements, but
send evt -- works, dispatches on "me"
send evt to #elt -- works, dispatches on #elt
trigger evt -- works, dispatches on "me"
trigger evt on #elt -- syntax error!
This will no longer be the case in the next release of _hyperscript.
htmx & _hyperscript were mentioned on devMode.fm
devMode already has an episode on htmx featuring Carson, but the latest episode mentions it as well, near the end.
Andrew Welch: You’ve heard of HTMX?
Chris Ferdinandi: Yes, but I can’t for the life of me-
CF: That’s weird. I’m gonna have to check that.
💙 to the devMode.fm podcast! (and apologies for my mediocre transcription skills)
Richard appreciated syntax highlighting for _hyperscript
The _hyperscript plugin for Visual Studio Code adds syntax highlighting, even for code embedded in HTML! The newest version supports _hyperscript in Markdown code blocks. Try it out:
I’ve also just started writing a tree-sitter grammar, for those who are into that sort of thing: https://github.com/dz4k/tree-sitter-_hyperscript