Node.js - JavaScript Chicago Meetup
-
Upload
hugs -
Category
Technology
-
view
114 -
download
2
description
Transcript of Node.js - JavaScript Chicago Meetup
Node.jsJason Huggins
{'jschi' : Date("Jan 28, 2010")}
CommonJS + Node =
The first non-browser version of JavaScript you'll want to usefor every-day scripting
and creating servers
CommonJS JavaScript finally gets a
standard library
Who, What, Where, When
• Started as “ServerJS” by Kevin Dangoor
• January 2009
Node.js A fast, fun, complete
JavaScript run-time environment
• Created by Ryan Dahl
• Presented at JSConf.eu, November 2009
Who, What, Where, When
Getting Started
• Download from nodejs.org
• tar -zxvf node-v0.1.26.tar.gzcd node-v0.1.26/configuremakesudo make installnode-repl
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 Python)
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 exporter logic
• It’s implemented in JS already, but is currently only accessible through the UI
To be continued... ;-)
Node.jsJason Huggins
{'jschi' : Date("Jan 28, 2010")}