{"id":4,"date":"2011-11-29T16:38:01","date_gmt":"2011-11-29T16:38:01","guid":{"rendered":"http:\/\/www.w3.org\/community\/scriptlib\/?p=4"},"modified":"2011-11-29T16:38:36","modified_gmt":"2011-11-29T16:38:36","slug":"api-design-cookbook-by-robin-berjon","status":"publish","type":"post","link":"https:\/\/www.w3.org\/community\/scriptlib\/2011\/11\/29\/api-design-cookbook-by-robin-berjon\/","title":{"rendered":"API Design Cookbook by Robin Berjon"},"content":{"rendered":"<p><a title=\"API Design Cookbook @ Github\" href=\"https:\/\/github.com\/scriptlib-cg\/api-design-cookbook\" target=\"_blank\" rel=\"nofollow\">https:\/\/github.com\/scriptlib-cg\/api-design-cookbook<\/a><\/p>\n<p>From the readme:<\/p>\n<p>This is a cookbook produced jointly at W3C by:<\/p>\n<p>* The Script Library Community Group (<a href=\"http:\/\/www.w3.org\/community\/scriptlib\/\">http:\/\/www.w3.org\/community\/scriptlib\/<\/a>)<br \/>\n* The Device APIs Working Group (<a href=\"http:\/\/www.w3.org\/2009\/dap\/\">http:\/\/www.w3.org\/2009\/dap\/<\/a>)<br \/>\n* The WebApps Working Group (<a href=\"http:\/\/www.w3.org\/2008\/webapps\/\">http:\/\/www.w3.org\/2008\/webapps\/<\/a>)<\/p>\n<p>Its goal is to document common practices in the production of Web APIs for usage in JavaScript.<br \/>\nWe are shying away from calling these &#8220;Best Practices&#8221; for two reasons:<\/p>\n<p>* Sometimes there are several options and picking one is a matter of tradeoffs rather than<br \/>\nobvious superiority.<br \/>\n* It is possible that some options may not be the best in an ideal &#8220;start from scratch&#8221; world,<br \/>\nbut are nevertheless the ones recommended here for consistency with the rest of the platform.<\/p>\n<p>We are also refraining from calling these &#8220;patterns&#8221;. Our goals are more concrete than that.<\/p>\n<p>Broad feedback from everyone is very much desired. If you are interested, please join the<br \/>\nScript Library Group (it is not just open but also friendly to all). Details can be found at<br \/>\n<a href=\"http:\/\/www.w3.org\/community\/scriptlib\/\">http:\/\/www.w3.org\/community\/scriptlib\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/scriptlib-cg\/api-design-cookbook From the readme: This is a cookbook produced jointly at W3C by: * The Script Library Community Group (http:\/\/www.w3.org\/community\/scriptlib\/) * The Device APIs Working Group (http:\/\/www.w3.org\/2009\/dap\/) * The WebApps Working Group (http:\/\/www.w3.org\/2008\/webapps\/) Its goal is to document common practices &hellip; <a href=\"https:\/\/www.w3.org\/community\/scriptlib\/2011\/11\/29\/api-design-cookbook-by-robin-berjon\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":775,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-4","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/posts\/4","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/users\/775"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":2,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":6,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/posts\/4\/revisions\/6"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/community\/scriptlib\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}