{"id":150,"date":"2003-08-07T08:48:00","date_gmt":"2003-08-07T12:48:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/?p=163"},"modified":"2003-08-07T08:48:00","modified_gmt":"2003-08-07T12:48:00","slug":"quickie-addendum","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2003\/08\/quickie-addendum\/","title":{"rendered":"Quickie addendum"},"content":{"rendered":"<p>As an after-thought to my <a href=\"http:\/\/www.markbaker.ca\/2002\/09\/Blog\/2003\/08\/04#2003-08-look-past-the-browser\">last response to Doug<\/a>,\nI thought I&#8217;d just say a quick word about &#8220;documents&#8221;, which Doug likes\nto talk about.<\/p>\n\n<p>A document <em>is<\/em> state (the S in REST).  Look in any file folder (the kind\nin the filing cabinet), document\nstorage system, archived tape, or heck, any file system, and you will find chunks of\nstate.  What you won&#8217;t see in any of these are &#8220;methods&#8221;.  If you encapsulate the\nstate within a &#8220;method&#8221; wrapper, then what you have is no longer a document,\nbecause it carries with it <em>intent<\/em>; state does not.<\/p>\n\n<p>If document transfer is your objective, then REST is what you need (and\nmaybe some <a href=\"http:\/\/www.knownow.com\/\">more constraints<\/a> on top).<\/p>","protected":false},"excerpt":{"rendered":"As an after-thought to my last response to Doug, I thought I&#8217;d just say a quick word about &#8220;documents&#8221;, which Doug likes to talk about. A document is state (the S in REST). Look in any file folder (the kind in the filing cabinet), document storage system, archived tape, or heck, any file system, and [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/150","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=150"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}