Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
HATEOAS isn't linking   Message List  
Reply | Forward Message #12497 of 14020 |
Re: [rest-discuss] HATEOAS isn't linking

On Apr 26, 2009, at 10:38 AM, Bill Burke wrote:
> So the "application" in Engine of Application State is really your
> browser. Links provide a way to change the state of your browser.
> Forms provide a way to change the state of your resource.
>

Most of the time, with some caveats:

The "application" is what the user is trying to accomplish,
such as "buy a book" or "transfer money from one account
to another" or "watch some monty python episode". The browser
is just the software that presents and operates upon the
application state.

Forms usually change the state of the browser as well.

Links and forms are specific UI mechanisms in HTML that teach
the browser how to construct the request upon activation.
A more elaborate media type could have more elaborate
mechanisms, and non-browser clients are even less restricted
in how they interact with media.

Although GET requests are not requesting a state change, it is
still possible for some resource states to change in response
to a GET. For example, there may be some other resource that
counts the number of GETs, or the most recent user agent.

....Roy



Sun Apr 26, 2009 6:57 pm

roy_fielding
Offline Offline
Send Email Send Email

Forward
Message #12497 of 14020 |
Expand Messages Author Sort by Date

When thinking about the Web (browsers) and Roy's thesis, do links and linkability really represent what HATEOAS is? I don't think so. Links aggregate...
Bill Burke
patriot1burke
Offline Send Email
Apr 26, 2009
5:18 pm

... The answer is right there in your own words. "Application state" != "resource state" So, the HTML page in your browser has a bunch of ordinary <a> links in...
Hugh Winkler
hwinkler99
Offline Send Email
Apr 26, 2009
5:27 pm

I find it useful to view application state as the sum of client state and those parts of resource the client cares about. In other words: The intersection of...
Stefan Tilkov
stilkov
Offline Send Email
Apr 26, 2009
5:32 pm

... So the "application" in Engine of Application State is really your browser. Links provide a way to change the state of your browser. Forms provide a way...
Bill Burke
patriot1burke
Offline Send Email
Apr 26, 2009
5:37 pm

No the application is the site/webapp/whatever ... The idea being to tell the client what to do next in the application via Hypermedia instead of previously...
Devdatta
bertie_woost...
Offline Send Email
Apr 26, 2009
5:57 pm

Still, I think an HTML form is an excellent illustration of HATEOAS on the Web. It is a self-describing *interaction* between the client and server where a...
Bill Burke
patriot1burke
Offline Send Email
Apr 26, 2009
6:44 pm

Right... The hypertext constraint specifies that potential "workflows" are captured through linking or other hypermedia descriptors. Roy Fielding called the...
Solomon Duskis
sduskis
Offline Send Email
Apr 26, 2009
6:53 pm

... To make things a bit clearer, forms are simply links with a UI attached to help people write the links, nothing more. They are just links. I can search...
Alexander Johannesen
shelterit
Offline Send Email
Apr 27, 2009
12:04 am

I do agree that <forms> fundamentally serve the role of fulfilling HATEOAS. However, I disagree that they are "simply links with UI attached." I'd put it a...
Solomon Duskis
sduskis
Offline Send Email
Apr 27, 2009
12:34 am

... Forms are just another media type. An HTML form is *exactly* the same as XML. In XML your media type is "application/xml" and your template is XSD. For...
Bill Burke
patriot1burke
Offline Send Email
Apr 27, 2009
12:31 pm

... The browser, or any other user-agent, holds a "representation" of a resource, and as so a specific state of a application, taken as the functionality...
António Mota
amsmota
Offline Send Email
Apr 26, 2009
7:13 pm

... So the "application" in Engine of Application State is really your browser. Links provide a way to change the state of your browser. Forms provide a way...
Bill Burke
patriot1burke
Offline Send Email
Apr 26, 2009
5:39 pm

... Most of the time, with some caveats: The "application" is what the user is trying to accomplish, such as "buy a book" or "transfer money from one account ...
Roy T. Fielding
roy_fielding
Offline Send Email
Apr 26, 2009
6:57 pm

I grok what you're saying, but I've always thought of Application as the overall set of states provided by the server (or set of interlinked servers), rather...
Solomon Duskis
sduskis
Offline Send Email
Apr 26, 2009
7:30 pm

... Ideally, why would a server provide* a state that is not part of what the user is trying to achieve? imho, I think this definitions game would just end us...
Devdatta
bertie_woost...
Offline Send Email
Apr 26, 2009
7:39 pm

There are different types of clients for a given server. Each client may use a slice of the overall set of states. For example, admin vs. end user, or User...
Solomon Duskis
sduskis
Offline Send Email
Apr 26, 2009
8:51 pm

... I think these would be 2 different applications. As Roy, said "Application is what the user is trying to accomplish". Now I know , we can argue that this...
Devdatta
bertie_woost...
Offline Send Email
Apr 27, 2009
7:34 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help