Posts In Category

Node.js

Node.js

< The list of previous installments can be found here. > The basic premise of Node.js is that all I/O operations are expensive. That is why all I/O should be carried out asynchronously, at least according to the philosophy behind Node.js. What this basically boils down to is that we need to specify a callback function or bind to one or more events in order to get the outcome for a particular I/O related function

Read More
BooksNode.js

Last week, I finished reading Hands-on Node.js written by Pedro Teixeira. I very much enjoyed reading this concise introduction to Node.js, and although it’s targeted towards beginners, I certainly managed to pick up a few nuggets myself here and there. After the obligatory introduction, the first chapter opens up with an explanation of why Node.js runs on an event loop and why JavaScript eventually got chosen as the preferred language. The next chapter shows how

Read More
Node.js

The recording of my very first E-VAN talk on Node.js is now available. If you want to hear me blabbering on about Node.js then I suggest you have a look. 

Read More
Node.js

< The list of previous installments can be found here. > Isaac recently released version 1.0 of npm, which is a package manager for Node.js. I’ve been using npm very early on when I started fiddling with Node.js and I’ve come to rely on it quite heavily. After I upgraded to one of the release candidates, I noticed a big improvement in how and where packages are being installed. With the old version that I

Read More
Node.js

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector CommonJS and Creating Custom Modules Node Version Management with n Implementing Events BDD Style Unit Tests with Jasmine-Node Sprinkled With Some Should “node_modules” Folders Pumping Data Between Streams Some Node.js Goodies The Towering Inferno Creating TCP Servers HTML5 is definitely one of the hot topics du jour. There are several technologies that are part of the upcoming

Read More
Node.js

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector CommonJS and Creating Custom Modules Node Version Management with n Implementing Events BDD Style Unit Tests with Jasmine-Node Sprinkled With Some Should “node_modules” Folders Pumping Data Between Streams Some Node.js Goodies The Towering Inferno Just a quick post to show that although creating HTTP servers clearly dominates most code samples that demonstrate the use of Node.js, that

Read More
Node.js

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector CommonJS and Creating Custom Modules Node Version Management with n Implementing Events BDD Style Unit Tests with Jasmine-Node Sprinkled With Some Should “node_modules” Folders Pumping Data Between Streams Some Node.js Goodies Because Node.js puts an event-based model at its core, it kindly guides you towards executing all I/O operations asynchronously. As discussed in previous posts, JavaScript perfectly

Read More
Node.js

Here are the links to the previous installments: Introduction Threads vs. Events Using Non-Standard Modules Debugging with node-inspector CommonJS and Creating Custom Modules Node Version Management with n Implementing Events BDD Style Unit Tests with Jasmine-Node Sprinkled With Some Should “node_modules” Folders   Pumping Data Between Streams For this post I want to quickly share a couple of goodies that can really improve the overall developer experience when building Node.js applications. The first one that

Read More