Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Node.js - JavaScript Chicago Meetup

3,141 views

Published on

Jason Huggins' (founder/CTO Sauce Labs), presentation to the JavaScript Chicago Meetup on January 28, 2010. Node.js: "The first non-browser version of JavaScript you'll want to use for every-day scripting and creating servers"

Published in: Technology
  • Be the first to comment

Node.js - JavaScript Chicago Meetup

  1. 1. Node.js Jason Huggins @jhuggins hugs@saucelabs.com {'jschi' : Date("Jan 28, 2010")}
  2. 2. CommonJS + Node =
  3. 3. The first non-browser version of JavaScript you'll want to use for every-day scripting and creating servers
  4. 4. CommonJS JavaScript finally gets a standard library
  5. 5. Who, What, Where, When • Started as “ServerJS” by Kevin Dangoor • January 2009
  6. 6. http://commonjs.org http://commonjs.org/
  7. 7. Node.js A fast, fun, complete JavaScript run-time environment
  8. 8. http://nodejs.org
  9. 9. Who, What, Where, When • Created by Ryan Dahl • Presented at JSConf.eu, November 2009
  10. 10. Getting Started • Download from nodejs.org • tar -zxvf node-v0.1.26.tar.gz cd node-v0.1.26/ configure make sudo make install node-repl
  11. 11. The “Big Idea”? It’s Event-based all the way down
  12. 12. db.query("select..", function (result) { // use result });
  13. 13. Demo
  14. 14. Gotchas • It’s new (that’s good and bad) • Step-debugging vs logging • Its REPL is great, but immature. (Compare to Python)
  15. 15. Adoption Path • Hear about it • Read about it • Try it • Become a fanboi
  16. 16. Adoption Path • ... go back to work... • ... months later... • Find a starter project
  17. 17. My starter project • Create a node-based command line interface to Selenium IDE’s Selenese format exporter logic • It’s implemented in JS already, but is currently only accessible through the UI
  18. 18. To be continued... ;-)
  19. 19. Node.js Jason Huggins @jhuggins hugs@saucelabs.com {'jschi' : Date("Jan 28, 2010")}

×