Timeline for How does SE remember my preferences without a POST but just a GET?
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2015 at 16:14 | comment | added | John Saunders | @Guffa: I would suggest that we consider REST as starting with Fielding's dissertation, and I believe that HTTP 1.0 was already in the standardization process. The idea of HTTP was one of the inputs into Fielding's thoughts about REST. For instance, his thoughts on caching GET. | |
Jul 8, 2015 at 8:06 | comment | added | Guffa | @JohnSaunders: Well, which came first? Perhaps it's more accurate to say that HTTP is based on the idea of REST... "The REST architectural style was developed by W3C Technical Architecture Group (TAG) in parallel with HTTP 1.1" en.wikipedia.org/wiki/Representational_state_transfer | |
Jul 8, 2015 at 2:30 | comment | added | John Saunders | @Guffa: "the HTTP protocol is based on REST"? I didn't know that. Can you post a reference? I was pretty sure that HTTP predated Fieldings dissertation. | |
Jul 7, 2015 at 12:06 | comment | added | asgs | @LightnessRacesinOrbit Alright :-) I was really looking for some real examples after reading the post DavidRR linked above. | |
Jul 7, 2015 at 11:55 | comment | added | Lightness Races in Orbit | @asgs: Hey! You caught me in an exagerration :) I didn't want to sound too sensational... | |
Jul 7, 2015 at 11:32 | comment | added | asgs | @LightnessRacesinOrbit can you share a few sample sites that are REST-compliant, pleas? | |
Jul 7, 2015 at 10:29 | comment | added | Lightness Races in Orbit | REST is grossly misunderstood by the majority of people I see using the term. I can think of only a handful of websites that are actually REST-compliant. | |
Jul 6, 2015 at 17:13 | comment | added | Alexei Levenkov | @BSeven I think the statement is "stateless websites are not that common, and SO is definitely not the sample of stateless web site". | |
Jul 6, 2015 at 16:53 | comment | added | B Seven | Why do you say "a pure REST interface just isn't useful for an advanced web site"? | |
Jul 6, 2015 at 15:03 | comment | added | Guffa | @Bruno: Of course REST applies to web pages, the HTTP protocol is based on it, so you can't get away from it. The point is that modern web pages are too complex to be seen simply as REST interfaces. | |
Jul 6, 2015 at 12:43 | comment | added | DavidRR | Related: If REST applications are supposed to be stateless, how do you manage sessions? | |
Jul 6, 2015 at 11:23 | comment | added | Bruno |
@Guffa I'd agree that the REST paradigm is more about guidelines than strict rules, but it still very much applies to modern webpages. Sure, there's nothing wrong about setting user preferences or some auxiliary settings (e.g. draft) when you visit a page, but you still get the GET on one resource (the page) guiding how interaction with other resources will happen. The resource where the draft is saved on this meta question is at http://meta.stackoverflow.com/posts/298600/editor-heartbeat/answer , for example (and sure, the definition of that resource is relative to the authenticated user).
|
|
Jul 6, 2015 at 0:54 | comment | added | Guffa | @Bruno: You are missing the point, and your description of modern web pages does not correspond to how actual web pages work. The REST paradigm just isn't sufficient to describe how the web works today. | |
Jul 5, 2015 at 20:53 | comment | added | Bruno | You're mixing a few things together here. Modern webpages are indeed complex, but a URI still identifies a single resource, where the hypermedia (and code on demand) then makes further requests to different URIs. The fact that the content shown when rendering a URI changes doesn't mean that what it identifies changes, but what it identifies may be defined relatively to the user logged in, for example. | |
Jul 5, 2015 at 14:20 | comment | added | DavidPostill | "it will remember what you write even if you don't post it. If you close the question without posting, and then reopen it you still have your text that you wrote." - I was very pleasantly surprised by this when earlier my PC crashed with a BSOD. After a restart I was able to carry on editing my question ;) | |
Jul 5, 2015 at 12:20 | vote | accept | ebvtrnog | ||
Jul 5, 2015 at 12:13 | history | answered | Guffa | CC BY-SA 3.0 |