[microformats-discuss] STRUM, REST, and DETH

Ryan King ryan at technorati.com
Thu Oct 13 12:47:53 PDT 2005


On Oct 12, 2005, at 4:19 PM, Dr. Ernie Prabhakar wrote:

> Hi Luke,
>
> On Oct 12, 2005, at 4:13 PM, Luke Arno wrote:
>
>> Sure. A endpoints in REST style service would be "nouns". The "verbs"
>> would be the methods of HTTP. [1] What you describe seems to offer
>> endpoints as methods.
>>
>> BTW, I like your ideas here a lot. Just being my picky self :)
>
> Thanks. I think. :-)
>
> Actually, I really *do* want to keep URIs as nouns, I'm just trying  
> to wrap my head around all this. I guess what I really want to be  
> do is XHTML-REST, not XML-RPC.
>
> To give myself something concrete, I'm trying to digest the Amazon  
> specs:
>
> http://images.amazon.com/images/G/media/i3d/01/associates/ecs- 
> dg-20051005.pdf
>
> Would any REST-ful folks care to comment whether that is a good or  
> bad implementation of REST concepts?  For example, they treat  
> ItemID as a keyword, not a part of the URI, and really only have  
> one base URL:
>
> http://webservices.amazon.com/onca/xml?Service=AWSEommerceService
>
> Is that "fair" or "optimal"?  If not, what's a more RESTy way to do  
> things?  And what advantage would that provide?

I concur with your analysis here. AWS's use of a singe url + query  
strings makes for a poor REST implementation.

-ryan


--
Ryan King
ryan at technorati.com





More information about the microformats-discuss mailing list