• kalkulat@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    6
    ·
    3 days 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
      10
      ·
      3 days 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
          ·
          41 minutes 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.

        • mech@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          10 hours ago

          Not sure what your point is, but that functionality could be built into a website without running any code clientside.