{"id":1696,"date":"2006-11-21T18:51:35","date_gmt":"2006-11-21T22:51:35","guid":{"rendered":"http:\/\/www.markbaker.ca\/blog\/2006\/11\/21\/the-trouble-with-binding\/"},"modified":"2006-11-21T18:51:35","modified_gmt":"2006-11-21T22:51:35","slug":"the-trouble-with-binding","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2006\/11\/the-trouble-with-binding\/","title":{"rendered":"The trouble with &#8220;binding&#8221;"},"content":{"rendered":"<p><a href=\"http:\/\/dannyayers.com\/2006\/11\/21\/making-the-web\">Danny notes<\/a>\nthat I chimed in with some Web architectural advice for those considering\n<a href=\"http:\/\/esw.w3.org\/topic\/SparqlUpdateLanguage\">SPARQL updates<\/a>.<\/p>\n\n<p>On that page, he asks;<\/p>\n\n<blockquote>\nI&#8217;d like to hear more from Mark about what he sees as problematic about the current notion of binding. Although the spec seems unusual, the end result does seem to respect WebArch\n<\/blockquote>\n\n<p>It does respect Web architecture, but only because it&#8217;s read-only.  As soon as you need to add mutation support, or indeed any other operation on the same resource, the process fails and what results is not Web-friendly.  This is because &#8220;operation on the same resource&#8221; doesn&#8217;t work if the operation is part of the resource name; if the operation changes, the name changes, and therefore the resource-identified changes.<\/p>\n\n<p>This is the same problem that APIs such as <a href=\"http:\/\/www.flickr.com\/services\/api\/\">Flickr<\/a> and <a href=\"http:\/\/del.icio.us\/help\/api\/\">del.icio.us<\/a> suffer from; Web-friendly for read-only, horribly broken for updates.<\/p>\n\n<p>Making something Web-friendly means mapping your data and services into a set of inter-linked resources.  Application-specific APIs works directly against that.<\/p>\n\n<p>And FWIW, from a REST POV the constraint that&#8217;s being disregarded in these scenarios is commonly <a href=\"http:\/\/www.ics.uci.edu\/~fielding\/pubs\/dissertation\/rest_arch_style.htm#sec_5_2_1_1\">resource identification<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"Danny notes that I chimed in with some Web architectural advice for those considering SPARQL updates. On that page, he asks; I&#8217;d like to hear more from Mark about what he sees as problematic about the current notion of binding. Although the spec seems unusual, the end result does seem to respect WebArch It does [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[21,22,24,48,29,35],"class_list":["post-1696","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-rdf","tag-rest","tag-semanticweb","tag-softarch","tag-sparql","tag-web"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=1696"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1696\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=1696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=1696"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=1696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}