Changelog Master Feed cover image

Changelog Master Feed

htmx: a new old way to build the web (JS Party #307)

Jan 12, 2024
Carson Gross and Alex Russell discuss web architectures, the evolution of rendering patterns, and the advantages of htmx. They explore the limitations of modern web app practices and how htmx offers an HTML-first approach using older technology. They also touch on the challenges faced by web developers and the use of JSON in web development. They dive into using htmx to improve web page rendering performance and discuss Roy Fielding's dissertation on hypermedia and interactivity. They explore the idea of dismantling one-size-fits-all web applications and address challenges in managing technology. They end with a discussion about Montana, education links, and gratitude.
01:44:44

Podcast summary created with Snipd AI

Quick takeaways

  • HTMX simplifies web development by leveraging familiar HTML attributes and the hypermedia model, allowing developers to focus on seamless user experiences.
  • HTMX offers a lightweight approach to enable modern web interactions while maintaining alignment with the core principles of the web.

Deep dives

HTMX: Generalizing Hypermedia Controls

HTMX is a simple framework that uses HTML attributes to generalize hypermedia controls. These attributes can be added to HTML elements to make them perform actions over the network. For example, you can use the 'HX-PUT' attribute on a button element to issue a PUT request to a specific endpoint. HTMX also provides attributes like 'HX-SWAP' and 'HX-TARGET' to specify where the returned content should be placed in the DOM. With HTMX, you can implement rich web applications within the hypermedia model, all using familiar HTML attributes.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode