A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Licensed under MIT. | |
# Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz | |
# | |
# This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts. | |
# It functions as a wrapper around the actual listed in `package.json` | |
# So instead of typing: | |
# | |
# $ npm script build:assets | |
# | |
# you could just as well type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ABC JAZZ | |
//mp3: "http://listen.radionomy.com/abc-jazz" | |
//FRISKY FM | |
//mp3: "http://scfire-mtc-aa02.stream.aol.com:80/stream/1015" | |
http://stream2.friskyradio.com:8000/frisky_mp3_hi | |
http://chill.friskyradio.com/friskychill_mp3_high | |
//WWOZ | |
//mp3: "http://wwoz-sc.streamguys.com/wwoz-hi.mp3" |
This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.
Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:
getTweetsFor("domenic", function (err, results) {
// the rest of your code goes here.