htmx is a very different way of developing your web application. You can define a lot of behaviour inside your HTML with the new attributed added by htmx. This allows you to build an interactive website without using any JavaScript. You do need a REST API that returns HTML though.

For more information about HTMX you can read the htmx docs.

  • httpjames@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    Cool concept, especially with making pure HTML feel responsive, but API endpoints returning HTML is definitely impractical for large applications. I wonder if XSS is a concern by default.

    • eluvatar
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yeah, talk about tight coupling, it’s like the opposite of graphql

  • DiamondDemon
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    1 year ago

    sounds like PHP. are we gonna have another PHP situation on our hands?