
{"id":39,"date":"2011-01-23T14:13:45","date_gmt":"2011-01-23T13:13:45","guid":{"rendered":"http:\/\/serverdude.dk\/?p=39"},"modified":"2015-07-30T09:43:10","modified_gmt":"2015-07-30T08:43:10","slug":"rest-in-practice","status":"publish","type":"post","link":"https:\/\/serverdude.dk\/?p=39","title":{"rendered":"REST in Practice"},"content":{"rendered":"<p>by Jim Webber, Savas Parastatidis, and Ian Robinson<\/p>\n<p>The author team takes their RESTBucks coffee shop application through Richardson\u00e2\u20ac\u2122s Maturity Model explaining the issues at each level. Java (JAX-RS) and .Net implementations.<\/p>\n<p>Then they go on to explain the importance of Hypermedia, and mentions that the hypermedia is a part of the representation. I\u00e2\u20ac\u2122m not quite sure about this.<br \/>\nI tend to disagree with the way they implement this; as a List&lt;Link&gt; member. There are benefits and security issues with this approach. It becomes possible for any client to set a link including overwriting a link. While this can have benefits, the immediate security issues of a client setting e.g. payment links to phishing sites are also present. <\/p>\n<p>They also like to use the Atom and AtomPub envelopes, which I fail to see work on a more common approach, that is, on any other media than formatted text.<\/p>\n<p>The book is more recent though, and a good read.<\/p>\n<p><iframe src=\"http:\/\/rcm-na.amazon-adsystem.com\/e\/cm?t=serverdude-20&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0596805829&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>by Jim Webber, Savas Parastatidis, and Ian Robinson The author team takes their RESTBucks coffee shop application through Richardson\u00e2\u20ac\u2122s Maturity Model explaining the issues at each level. Java (JAX-RS) and .Net implementations. Then they go on to explain the importance of Hypermedia, and mentions that the hypermedia is a part of the representation. I\u00e2\u20ac\u2122m not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-books"],"_links":{"self":[{"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverdude.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":3,"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/serverdude.dk\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/serverdude.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverdude.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverdude.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}