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 to share photos of your group with the world? 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
REST intro slides   Message List  
Reply | Forward Message #8397 of 14020 |
Re: [rest-discuss] Re: REST intro slides

On May 10, 2007, at 11:25 AM, Ittay Dror wrote:
> i'm having a hard time understanding your explanation. can you
> please post two examples, one "RPC plus streaming", the other true
> REST?

RPC is remote procedure call. One of the things that typical RPC
mechanisms lack is the ability to describe responses (or even
parameters) as a stream of data as opposed to a small data type.
HTTP has no problem doing that even when it is used in an RPC way.

So, people who advocate "resource-oriented" as an end in itself,
as if the only thing you need to build a network-based application
is a URI template and resource definition language, are just fooling
themselves into thinking what they are doing is REST. Resources
are just one part of the style. Resources are necessary for REST,
but resources must be allowed to evolve independently from the
clients and the only way that can happen is when the clients are
expecting to be instructed by the next representation received.
Otherwise, the client is making assumptions about the server's
implementation --- assumptions that will break eventually --- and
becomes much more complex and brittle than the type of network-based
application that REST is intended to encourage.

That is why hypermedia as the engine of application state is
an essential constraint of REST, and why RESTful application
frameworks cannot ignore the need for meaningful media types,
whether it be in the form of microformats or specialized XML
data types.

....Roy



Fri May 11, 2007 6:21 pm

roy_fielding
Offline Offline
Send Email Send Email

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

i'm having a hard time understanding your explanation. can you please post two examples, one "RPC plus streaming", the other true REST? i assume you're not ...
Ittay Dror
ittayf
Offline Send Email
May 10, 2007
6:26 pm

... RPC is remote procedure call. One of the things that typical RPC mechanisms lack is the ability to describe responses (or even parameters) as a stream of...
Roy T. Fielding
roy_fielding
Offline Send Email
May 11, 2007
6:21 pm

So if I understand correctly: take the case of the shopping cart. REST-like implementation will return a representation of the shopping cart as a list of...
Ittay Dror
ittayf
Offline Send Email
May 11, 2007
7:00 pm

... Based on the requirements above, I'd probably look at a shopping cart profile of the Atom format (application/atom+xml) and protocol (add/edit/delete...
John Panzer
zwyrthrop
Offline Send Email
May 11, 2007
7:29 pm

... That's not a problem specific to the REST style, or even computing. What it does it put that problem in an appropriate place. "What about meaning ?" is the...
Bill de hOra
bdehora
Offline Send Email
May 12, 2007
12:32 pm

... So, since the XML result returned by the Atom Publishing Protocol does not include hyperlinks with each entry for deleting that entry, or updating it, or...
Nick Gall
nick_gall_1117
Offline Send Email
May 11, 2007
7:39 pm

... APP defines <link rel="edit" href="..."/> in atom:entry elements for deleting/updating entries. The service document defines <collection href="..."/> for...
John Panzer
zwyrthrop
Offline Send Email
May 11, 2007
7:46 pm

... Wow, I did not know that about the APP! I must admit I've never given it a close reading. Now that I know about them, I do believe they satisfy the HEAS...
Nick Gall
nick_gall_1117
Offline Send Email
May 11, 2007
9:33 pm

... Well, for Atom the constraint is that the collection URL itself is the one that you use to POST to. So I _think_ that this is already available, but it's...
John Panzer
zwyrthrop
Offline Send Email
May 11, 2007
9:47 pm

... And such a separation is right there in the thesis paper, in section 6.2.3, paragraph 2: "In order to author an existing resource, the author must first...
Robert Sayre
robertsayre2000
Offline Send Email
May 11, 2007
10:23 pm

I have argued that APP is "less-weblike" than HTML applications because you don't send documents in response to the instructions in a form. You build the...
Hugh Winkler
hwinkler99
Offline Send Email
May 11, 2007
8:24 pm

... Yes. This is obviously different from the situation on the web, where you build an application/x-www-form-urlencoded string according to a recipe you read...
A. Pagaltzis
a22pag
Offline Send Email
May 11, 2007
8:59 pm

... Well, the body of an url-encoded form data request entity, that you send to one service URL, can vary over time, so it's easy to evolve it. Also, the...
Hugh Winkler
hwinkler99
Offline Send Email
May 11, 2007
10:53 pm

... a) atom:content can carry content of any MIME type. b) Entries can have any number of atom:link and atom:category elements with varying @rel or @scheme...
A. Pagaltzis
a22pag
Offline Send Email
May 12, 2007
12:28 am

... The prinicple difference is that for url encoded form data, the server described to you the information it needs to perform an action. In the app case, or...
Hugh Winkler
hwinkler99
Offline Send Email
May 12, 2007
2:44 pm

... You mean like how you can read the recipe for interacting with a form in I don't know, is it 3, specs? ... The form tells you no such thing. What you are...
Bill de hOra
bdehora
Offline Send Email
May 12, 2007
12:42 pm

... Unsure if you mean there are 3 specs that define from fields semantics? Or just 3 specs touching on HTML forms? ... Running out of gas here, Bill... got a...
Hugh Winkler
hwinkler99
Offline Send Email
May 12, 2007
2:47 pm

Roy T. Fielding wrote: "So, people who advocate "resource-oriented" as an end in itself, as if the only thing you need to build a network-based application is...
Jeffrey Winter
kimberliewinter
Offline Send Email
May 11, 2007
8:02 pm

... In terms of authoritative import, the coup will be getting Dr. Fielding to write the foreword. cheers Bill...
Bill de hOra
bdehora
Offline Send Email
May 12, 2007
12:46 pm

... I was asked to review an early draft, but I don't know how far that was (or is) from their current draft. I really don't have the time. Sam's a smart guy...
Roy T. Fielding
roy_fielding
Offline Send Email
May 13, 2007
8:27 pm

... [. . .] ... This is where I get a little confused. I assume that the client still needs to understand each of the possible states so that it knows what to...
Chuck Hinson
chucking24
Online Now Send Email
May 10, 2007
9:48 pm

... Each state is described by the current set of representations. A client's understanding will depend on its understanding of the media types. ... The client...
Roy T. Fielding
roy_fielding
Offline Send Email
May 11, 2007
5:54 pm

... So where (today) I might validate some input, and dependent on n state variables.... present A or B or C, now I simply generate links (for a human...
Dave Pawson
dpawson2000
Offline Send Email
May 11, 2007
6:02 pm

Wow. This thread, along with Tim Ewald's recent blog post on REST and state machines has really clarified REST for me. At least I think it has... Let me try to...
wahbedahbe
Offline Send Email
May 12, 2007
4:30 am

... And you can explain it like this: Have URI, will follow. K. -- Blacknight Internet Solutions Ltd. <http://blacknight.ie/> Unit 12A Barrowside Business...
Keith Gaughan
keithgaughan
Offline Send Email
May 11, 2007
10:14 am

... That is a little too trivial. Maybe like this: Have representation with URIs, will follow. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>...
A. Pagaltzis
a22pag
Offline Send Email
May 11, 2007
2:19 pm

... Hypermedia? Mark....
Mark Baker
gonga_thrash
Offline Send Email
May 10, 2007
1:38 pm

... I sure would be curious to know! :) ... Can you share your the slides after your talk? ... It's as an effective visual mnemonic to tie everything together....
Steve Bjorg
steve_bjorg
Offline Send Email
May 10, 2007
2:19 pm

... I'll take a stab: A slide on State. As Tim Ewald put it in his recent personal revelation concerning REST: "The essence of REST is to make the states of...
Nick Gall
nick_gall_1117
Offline Send Email
May 11, 2007
6:41 pm

... I've found it's a valuable means to explain REST to people with an RPC/Web services background: in a WS-* scenario, you have a fixed number of "endpoint"...
Stefan Tilkov
stilkov
Offline Send Email
May 12, 2007
7:30 am
 First  |  |  Next > Last 
Advanced

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