Programming By Stealth
PBS 24 – Creating a JavaScript API

PBS 24 – Creating a JavaScript API

Programming By Stealth

About this episode

In this week’s installment of Programming By Stealth, Bart teaches us how to create a JavaScript API up to and including an easy way to create professional documentation in order to publish our work as a JavaScript library. In order to get there we learn how to write reusable and sharable code, how “closures” help you keep your variables out of the global scope so they don’t mess up other people’s code, we learn one Ternary Operator), and my favorite, self-executing anonymous functions.

Apologies for getting the episode number wrong in the audio – I said it was #460 when it’s actually #461.

You can find Bart’s tutorial we follow in this episode at bartbusschots.ie/….

More from Programming By Stealth

In this week's installment of Programming By Stealth, Bart wraps up his Jekyll on GitHub miniseries as he explains how to use data files, control permalinks, and set defaults in our front matter. At t…

1h 10m

In our penultimate installment of the Jekyll miniseries, Bart teaches about collections. They're a bit difficult to explain briefly because collections can be whatever you want them to be. To illustra…

1h 8m

Bart continues us on our journey to use Jekyll with GitHub Pages to make a proper website. Most proper websites these days include a blog, so that's what he tackles this week. With a few for loops, a…

1h 4m

We dust off our memory from where we left off learning about Jekyll back in PBS 181 in June of last year. After some housekeeping, Bart takes us through the challenge solution from PBS 181, and then t…

1h 14m