{"id":10442,"date":"2016-11-22T17:29:34","date_gmt":"2016-11-23T01:29:34","guid":{"rendered":"http:\/\/www.podfeet.com\/blog\/?p=10442"},"modified":"2020-12-28T21:33:43","modified_gmt":"2020-12-29T05:33:43","slug":"ccatp-465","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2016\/11\/ccatp-465\/","title":{"rendered":"CCATP #465 &#8211; Bart Busschots Programming By Stealth 25 &#8211; Case Study of a JavaScript API"},"content":{"rendered":"<p><a href=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2016\/09\/PBS_Logo-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-9639\" src=\"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2016\/09\/PBS_Logo-1-150x150.png\" alt=\"PBS_Logo.png\" width=\"150\" height=\"150\" \/><\/a>Bart gave me another two weeks to get my homework done on Programming By Stealth and brings us a case study of how to create a JavaScript API on Github. He uses a real life example of a small, open source library he released over the weekend called <a href=\"https:\/\/github.com\/bbusschots\/bartificer_linkToolkit_js\">barfificer.linkTookit.js<\/a>. This library includes many of the bits and pieces we&#8217;ve been working on in Programming By Stealth, how to add a rel of no opener on all links with a target of _blank (the ones that open in a new tab) and adding a little icon in the url to politely tell the reader that you&#8217;ll be navigating away from the page you&#8217;re on. It&#8217;s a great lesson in the structure of how Github works and even more importantly how it automatically creates beautiful documentation from Markdown comments in the code. Tutorial shownotes are available at <a href=\"https:\/\/pbs.bartificer.net\/pbs25\" target=\"%5Fblank\" rel=\"noopener\">pbs.bartificer.net\/&#8230;<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-10442-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2016_11_22.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2016_11_22.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2016_11_22.mp3<\/a><\/audio>\n<p class=\"c1\"><a href=\"https:\/\/itunes.apple.com\/us\/podcast\/chit-chat-across-the-pond\/id1052401094?mt=2\"><img loading=\"lazy\" decoding=\"async\" style=\"float: none;\" src=\"https:\/\/podfeet.com\/NosillaCast\/artwork\/itunes_subscribe_button.png\" alt=\"itunes\" width=\"125\" height=\"43\" \/><\/a><br \/>\n<a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2016_11_22.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bart gave me another two weeks to get my homework done on Programming By Stealth and brings us a case study of how to create a JavaScript API on Github. He uses a real life example of a small, open source library he released over the weekend called barfificer.linkTookit.js. This library includes many of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172,213],"tags":[1120,1166,616,176,240],"class_list":["post-10442","post","type-post","status-publish","format-standard","hentry","category-blog-posts","category-ccatp","category-programming-by-stealth","tag-api","tag-documentation","tag-javascript","tag-programming","tag-programming-by-stealth"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/10442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=10442"}],"version-history":[{"count":6,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/10442\/revisions"}],"predecessor-version":[{"id":22654,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/10442\/revisions\/22654"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=10442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=10442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=10442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}