tag:blogger.com,1999:blog-6541479885845327365.post6844343193315627162..comments2020-06-20T04:40:06.020+10:00Comments on overwatering: What is Shrew?Gileshttp://www.blogger.com/profile/05034571153121453245noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6541479885845327365.post-18097433135112857212007-08-14T23:19:00.000+10:002007-08-14T23:19:00.000+10:00I'm still exploring REST, but I can say that the p...I'm still exploring REST, but I can say that the point is to definitely have short, readable, fixed URIs. Amazon could do something like:<BR/><BR/>http://www.amazon.com/summary<BR/>http://www.amazon.com/cart<BR/><BR/>The idea is to use the full feature set of HTTP: headers and all the different verbs. In the above example, the user (or service client) would perform a PUT on the /cart URI to create a cart. The service would then send a link down to the client in an XML payload. Something like: /cart/54235. You then work with the cart using that URI. This allows past carts to be retained forever.<BR/><BR/>There are equally interesting tricks to do with transactions.<BR/><BR/>Basically, it's competition for WS-* web services. The RESTful approach is to model how the human readable web of documents and links already works.<BR/><BR/>By the way, WS-* have just died. Admitting how complicated they are, the standards committee has now split into six sub-committees intended to simplify the specs. Ha!<BR/><BR/>I'll let you know more as I get further into Shrew.Gileshttps://www.blogger.com/profile/05034571153121453245noreply@blogger.comtag:blogger.com,1999:blog-6541479885845327365.post-13426507018819291472007-08-14T22:59:00.000+10:002007-08-14T22:59:00.000+10:00I'm intrigued by this REST concept.I'd like to kno...I'm intrigued by this REST concept.<BR/><BR/>I'd like to know what other developers have chosen as URL for stuff like shopping cart pages or summary pages that change depending on your session? Or search result pages... do you assign each search an id and then allow the user to go back to it? <BR/><BR/>All solvable but you don't want insanely long URLs? Or do you?Adamhttps://www.blogger.com/profile/09691140899501494223noreply@blogger.com