Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.26 KB

README.md

File metadata and controls

50 lines (37 loc) · 2.26 KB

Functional JavaScript

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

Running the App

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.

Giving the Presentation

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 own data.json)
  • applicative-functions.js
  • higher-order.js
  • protocols.js

Resources