• @areyouevenreal@lemm.ee
    link
    fedilink
    -12 years ago

    That data has to be stored somewhere though. So you would still need some kind of database server to store it all or some other solution. That’s what I mean by outsourcing state. Data is still stored in the backend, just in a database rather than a web server.

    • ☆ Yσɠƚԋσʂ ☆
      cake
      OP
      link
      fedilink
      -12 years ago

      There is data that gets persisted and needs to be stored somewhere, and then there’s the UI state that’s ephemeral. The amount of data that gets persisted tends to be small, and the logic around it is often trivial.

        • ☆ Yσɠƚԋσʂ ☆
          cake
          OP
          link
          fedilink
          22 years ago

          I mean if you’re going to be aggressively obtuse about this, I guess there’s no point talking.

          • @areyouevenreal@lemm.ee
            link
            fedilink
            -12 years ago

            How am I being obtuse? You have been trying to trivialise the backend and now frontend as well. Backend isn’t just writing PHP or whatever, it’s setting up database servers, authentication proxies, and all that stuff. Not everything can be stateless.

            • ☆ Yσɠƚԋσʂ ☆
              cake
              OP
              link
              fedilink
              32 years ago

              I’m not trivializing anything here. What I actually said was that when all the UI logic lives on the frontend, then the backend just has dumb fetch and store operations along with an auth layer. In this scenario, the backend code can indeed be largely stateless. Specifically, it doesn’t care about the state of the user session or the UI. The only one trivializing things here is you by completely ignoring the nuance of what’s being explained to you.