htmx on Sinatra

—interactive web pages with hypermedia

A brief course in the absolute basics of web development, using two minimalist libraries: Sinatra and htmx.

  • </> htmx
  • Sinatra web framework

Contents

  1. Introduction
  2. Hypermedia and HATEOAS
  3. The state of HTML
  4. Instant gratification
  5. Form submission 101
  6. Personalization with GET
  7. Personalization with POST
  8. Enter htmx
  9. Swapping the parent element
  10. In conclusion