• SpaceNoodle@lemmy.world
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    1 month ago

    I remember when webservers served content, and didn’t just pass me megabytes of bloated spaghetti and say “here, YOU run this.”

    • kalkulat@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      5
      ·
      1 month ago

      Static pages are fine if you don’t want to interact with them. Books have been around since the 1400s.

      But they won’t let you search a whole book for particular name, place, term. Or take your input and calculate answers for you? Or let you create music or art? etc. etc.

      • Fushuan [he/him]@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        11
        ·
        1 month ago

        You don’t need that to search. In fact, you send the search query and get the response back.

        Yes, they let you search the term, it’s called asking the librarian to tell you which page.

        Forms that send a post request to the server and the server serves you the page with the answer is how it works. Ajax is cool, sure, but don’t tell us lies, or don’t talk with confidence without knowing.

          • Fushuan [he/him]@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            I was trying to make the best of what I could with the bad example they provided…

            But as they already responded you, before Ajax was a thing term searches were done via forms. I still state that it has it’s uses, but let’s not pretend like the universe was born with javascript.