The live coding artifacts (and complete cheat sheet) from TriangleJS talk "Learn FP by implementing SQL with Underscore.js"
JavaScript
Permalink
Failed to load latest commit information.
vendor Initial Commit Jan 25, 2012
README.markdown
blank.js Initial Commit Jan 25, 2012
cheat-sheet.js Initial Commit Jan 25, 2012
demo.html Initial Commit Jan 25, 2012
live.js Initial Commit Jan 25, 2012

README.markdown

Demo code from my Triangle JS talk "Learn Functional Programming by Implementing SQL"

Open demo.html to run the code. There are a few JS files

  • blank.js was our starting point for the live coding
  • live.js was where we finished
  • cheat-sheet.js contains some more of the SQL DSL fleshed out including select, select with aggregate operators (uses reduce!), and joins.

demo.html currently sources live.js but you can change this to the others to try out.

Slides from the talk can be found here: http://speakerdeck.com/u/krisjordan/p/functional-programming-fundamentals-in-js-php