October 2012
8 posts
Restify
This is the 8th in a series of posts leading up to Node.js Knockout on using restify. This post was written by Node Knockout judge and restify creator Mark Cavage. restify is a node.js module purpose built to create REST web services in Node. restify makes lots of the hard problems of building such a service, like versioning, error handling and content-negotiation easier. It also provides...
Oct 31st
3 notes
Sending email from node.js
This is the 7th in a series of posts leading up to Node.js Knockout on using Nodemailer. This post was written by Node Knockout judge and Nodemailer creator Andris Reinman. tl;dr — How to send an e-mail using Nodemailer Install Nodemailer > npm install nodemailer Include the module in your script and create a reusable transport object var nodemailer = require("nodemailer"); var...
Oct 30th
3 notes
Making an API happy with hapi
This is the 6th in a series of posts leading up to Node.js Knockout on using hapi. This post was written by Node Knockout judge and hapi contributor Wyatt Preul. Hapi is a framework for rapidly building RESTful web services. Whether you are building a very simple set of RESTful services or a large scale, cache heavy, and secure set of services, hapi has you covered. Hapi will help get your...
Oct 29th
3 notes
Getting Started with Mongoose
This is the 5th in a series of posts leading up to Node.js Knockout on using Mongoose. This post was written by Node Knockout judge and Mongoose maintainer Aaron Heckmann. Getting started with Mongoose and Node In this post we’ll talk about getting started with Mongoose, an object modeling tool for MongoDB and node.js. Install We’re going to assume that you have both MongoDB and...
Oct 25th
1 note
Knocking out Socket.IO
This is the 4th in a series of posts leading up to Node.js Knockout on how to use Socket.IO. This post was written by socket.io creator Guillermo Rauch. Ready to rock the Node Knockout 3? Considering making a real-time app or game? Then you’re likely considering Socket.IO Socket.IO makes realtime easy and cross-browser If the web 2.0 was about AJAX requests and responses, the real-time...
Oct 24th
1 note
Getting Started with Express
This is the 3rd in a series of posts leading up to Node.js Knockout on how to use Express. This post was written by express author Tj Holowaychuk. In this short tutorial for Node Knockout we will be creating a small application using the popular Express framework. Express is a light-weight Sinatra-inspired web development framework. Express provides several great features such as an intuitive...
Oct 23rd
1 note
Introduction to npm
This is the 2nd in series of posts leading up to Node.js Knockout about how to use npm. This post was written by npm author Isaac Schlueter. npm is a NodeJS package manager. As its name would imply, you can use it to install node programs. Also, if you use it in development, it makes it easier to specify and link dependencies. Installing npm npm now comes with node. So once you install node...
Oct 19th
How to Install node & npm
This is the 1st in series of posts leading up to the 3rd annual Node.js Knockout about how to use node.js. This post covers how to install node and npm on three popular development platforms: Mac, Ubuntu, and Windows. Instructions for other platforms can be found on the Node Wiki. The Easy Way We personally use package managers to make it easier to keep our node installation up to date, so...
Oct 19th