Event Details

International Java Script Conference: HTMX - PAST IS NOW FUTURE with Mark Volkmann

New York Marriott at the Brooklyn Bridge

October 8th, 2024

This is an all-day event

Register for the event here.

Past is Now Future

This talk describes building web applications focused on hypermedia, an approach that differs significantly from the SPA frameworks popular today such as React and Angular. Today, web apps typically use client-side JavaScript code to send HTTP requests to server endpoints that query/update databases and return JSON data. The client code then transforms JSON into an HTML presentation. This is not what Roy Fielding had in mind when he wrote his famous dissertation "Architectural Styles and the Design of Network-based Software Architectures" that gave birth to REST.Htmx is a small client-side JavaScript library that adds support for new HTML attributes. These enable responding to specific interactions (e.g. click) with any HTML element by sending an HTTP request using any verb. The response must contain HTML. Rather than performing a complete page refresh, the returned HTML replaces an existing DOM element or is inserted relative to one. The server can be implemented using any programming language and server framework. While htmx itself is implemented in JavaScript, Htmx enables writing complete web applications without authoring any JavaScript code.