15 May
2012

Taking Toddler Steps with Node.js – Passport

Recently I added Twitter authentication to TrackMyRun using a library called Passport. I was pretty impressed how smooth this all went as I completely neglected all security concerns from the get go, which is definitely not recommended by the way. For this post I?ll walk you through the process of setting up Passport for Express […]

Read More
6 Apr
2012

Taking Toddler Steps with Node.js – Express Error Handling

In the previous post I wrote about my personal routing flavor for Express. For this post, I want to briefly discuss how to set up error handling using Express. In order to get up and going very quickly, we only need to add the errorHandler middleware provided by Connect. application.use(express.errorHandler({ showStack: true, dumpExceptions: true })); […]

Read More
23 Mar
2012

Taking Toddler Steps with Node.js – Npm Police

Category:UncategorizedTag: :

Earlier this week, I ran across this incredibly helpful utility called npm-police. It analyzes all packages that are specified in a package.json file and reports which packages need to be updated. It also leaves you with a couple of suggestions on how to improve the content of the analyzed package.json file. Another great tool in […]

Read More
22 Feb
2012

Book Review: The Unix Programming Environment

Category:UncategorizedTag: , :

A couple of weeks ago I finished reading The Unix Programming Environment, written by Brian W. Kernighan and Rob Pike. The main reason that I picked up this classic book was to learn more about the fundamentals of Unix. I must say that this book is an excellent guide to start learning more about this […]

Read More
14 Feb
2012

View Collation in CouchDB

Category:UncategorizedTag: :

A couple of weeks ago I learned about a very neat feature of CouchDB called view collations. Basically, view collations enables us to make joins between documents. Let?s look at a simple example here. Suppose we have a customer-order model where a customer can have one or more orders. The data of the documents for […]

Read More