Triptych: Three Proposals to Make Hypertext Hyper Again

2025-01-06

Alexander Petros and Carson Gross propose Triptych, three small proposals designed to make HTML far more expressive in how it handles network requests. The proposals add PUT, PATCH, and DELETE support to HTML forms, enable buttons to make requests without forms, and allow for partial page replacement with the response. Triptych aims to bring the best of libraries like htmx to native HTML, enhancing its REST capabilities and simplifying the declaration of page behavior for HTTP requests. This results in cleaner code and easier implementation of both full-page navigation and partial page updates.

Development Web Requests