• BedSharkPal@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    My point is just that I think to most people, HTMX doesn’t create what is classically considered to be a SPA any more than older MPA’s that called utilized AJAX would be. There’s a reason those old-style pages aren’t really considered SPA’s. Is it splitting hairs? Absolutely.

    • rwhitisissle@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      I think we’re gonna have to agree to disagree on definitions. To me, and I believe, to most people, an SPA refers to a UI/UX design pattern that can be implemented with any number of underlying techniques. I would also say that the Wikipedia page for SPAs (on the assumption that wikipedia is a valid tool for establishing consensus for definitions) supports my definition:

      A single-page application (SPA) is a web application or website that interacts with the user by dynamically rewriting the current web page with new data from the web server, instead of the default method of a web browser loading entire new pages.

      There are various techniques available that enable the browser to retain a single page even when the application requires server communication.

      And it goes on to list frameworks, AJAX, Websockets, etc.