Node.js
      Jason Huggins
         @jhuggins
     hugs@saucelabs.com




{'jschi' : Date("Jan 28, 2010")}
CommonJS + Node =
The first non-browser version of
 JavaScript you'll want to use
  for every-day scripting
              and
      creating ...
CommonJS
JavaScript finally gets a
    standard library
Who, What, Where, When
 • Started as “ServerJS” by Kevin Dangoor
 • January 2009
http://commonjs.org


    http://commonjs.org/
Node.js
A fast, fun, complete
 JavaScript run-time
     environment
http://nodejs.org
Who, What, Where, When
 • Created by Ryan Dahl
 • Presented at JSConf.eu, November 2009
Getting Started
• Download from nodejs.org
• tar -zxvf node-v0.1.26.tar.gz
  cd node-v0.1.26/
  configure
  make
  sudo mak...
The “Big Idea”?
It’s Event-based all the way down
db.query("select..", function (result) {
    // use result
});
Demo
Gotchas

• It’s new (that’s good and bad)
• Step-debugging vs logging
• Its REPL is great, but immature.   (Compare to Pyt...
Adoption Path

• Hear about it
• Read about it
• Try it
• Become a fanboi
Adoption Path

• ... go back to work...
• ... months later...
• Find a starter project
My starter project
•   Create a node-based
    command line interface
    to Selenium IDE’s
    Selenese format
    export...
To be continued...
        ;-)
Node.js
      Jason Huggins
         @jhuggins
     hugs@saucelabs.com




{'jschi' : Date("Jan 28, 2010")}
Node.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago Meetup
Node.js - JavaScript Chicago Meetup
Upcoming SlideShare
Loading in …5
×

Node.js - JavaScript Chicago Meetup

2,895
-1

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
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,895
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
66
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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")}
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×