liveBook · Manning

HTMX

HTMX is a JavaScript library that enables HTML attributes to initiate HTTP interactions, handle events, and update portions of a page.

How 3 Manning books explain it

Quarkus in Action

HTMX is a client-side web library that enables HTML-driven interaction with servers and dynamic page updates without requiring custom JavaScript for many use cases.

How it is used
Enables asynchronous, partial-page updates in a server-rendered reservation management UI.
How deep it goes
Works through HTML attributes, Qute fragments, and REST endpoints; stops short of HTMX internals.
Examples
Shows a GET-driven greeting, date-filtered available cars, a reservations table, and a reservation form.
What you can do after
Build it from scratch with HTMX attributes, Qute HTML fragments, and Quarkus REST endpoints for targeted page updates.

Read how Quarkus in Action explains HTMX →

Django in Action

HTMX is a JavaScript library that enables HTML elements to initiate HTTP interactions and update portions of a page.

How it is used
Adds partial-page interactivity to Django applications without extensive JavaScript.
How deep it goes
Explains request attributes and walks through lazy loading and inline editing views, templates, forms, and routes.
Examples
Demonstrates lazy-loaded promoters and inline editing of rooms associated with a venue.
What you can do after
Apply it via HTMX attributes to fetch Django partials and update targeted page regions.

Read how Django in Action explains HTMX →

Web Component Development with Modern Libraries and Tooling

A JavaScript library that enables HTML attributes to issue requests and update page content without writing conventional client-side application code.

How it is used
Uses HTML attributes to connect a button with a server endpoint and update a page region from the returned HTML.
How deep it goes
Demonstrates GET requests and target selection through two attributes, without surveying broader HTMX APIs or client-side internals.
Examples
Uses a hello-world button that requests a named greeting and populates a greetings div with server-rendered custom elements.
What you can do after
Apply it via HTMX by adding hx-get and hx-target attributes to request and replace page content.

Read how Web Component Development with Modern Libraries and Tooling explains HTMX →

What to know first

Related concepts

Questions about HTMX

What is HTMX?

HTMX is a JavaScript library that enables HTML attributes to initiate HTTP interactions, handle events, and update portions of a page.

Which Manning books explain HTMX?

Quarkus in Action, Django in Action and Web Component Development with Modern Libraries and Tooling.

What should I know before learning HTMX?

Manning books that teach HTMX usually introduce HTML, HTTP GET and JavaScript first.

What is HTMX a kind of?

HTMX is a kind of client-side toolkit. A client-side toolkit is a collection of browser-executed functionality for building and enhancing web applications.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.