Comment by zkmon

6 days ago

Not quite. As the L in URL says, it is the locator or address of the state. The S in REST implies the same, indicating states as the content, not path to it.

But from the viewpoint of a web app where you navigate between different (versions of) pages, the state of that app can be the address of the currently displayed page.

  • It's the state of your browser, not the app. App could be serving different pages to different clients at the same time.

State is just your location in state space.

  • An address book is not "state space". The country, land and things are the state.

    • Not every location represents a state, but every state can be considered a location.

      If you want to argue against the use of URLs to represent state, I would concentrate on the “R” (resource) aspect.

      2 replies →