A talk given by Rob Friesel (@founddrama) at the BurlingtonJS meet-up on June 19, 2013.
If you liked this talk, you should consider buying a copy of the book that inspired it, Functional JavaScript by Michael Fogus: http://www.amazon.com/gp/product/1449360726
The slides are on SlideShare: slideshare.net/founddrama/funjs
You will need to create a goodreads-config.js
in the project root and put the
following into it:
exports.API_KEY = 'your API key goes here';
exports.USER_ID = 'some user ID goes here';
You can get an API key here: http://www.goodreads.com/api/keys
You can a user ID from the URL of any user's profile page. It's just the number
part; so mine is 156533
, not 156533-rob
.
We're plundering borrowing a lot of this material from
Michael Fogus' book, Functional JavaScript;
specifically chapters 2, 4, and 9. As such, the material in this presentation
follows in basically the same order. Doing the demo, node
in this order:
app.js
(to get the data; or provide your owndata.json
)applicative-functions.js
higher-order.js
protocols.js
- Functional JavaScript: the book, the code from the book, and the website
- Underscore.js
- underscore-contrib
- Lemonad
- Oliver Steele's Functional JavaScript
- Reginald Braithwaite's allong.es
- Brian McKenna's Bilby.js
- ClojureScript