Tane Piper - @tanepiper
An Introduction To
What Is Node?
nodejs (node) is a set of bindings to the V8
Focused on performance and memory useage
through an event loop – not threads.
Features of Node
Node is similar to
Ruby's Event Machine
Node takes the event model a bit further—it
presents the event loop as a language
construct instead of as a library.
Node simply enters the event loop after
executing the input script. Node exits the
event loop when there are no more
callbacks to perform
Synchronous vs Asyncronous
$query="SELECT * FROM contacts";
File file = new File("C:MyFile.txt");
fis = new FileInputStream(file);