Cleaning Up Deep Callback Nesting With Node's EventEmitter

One problem people face when starting out with Node (and Javascript in general) is handling the asynchronous, deep callback nesting issue. EventEmitters help fix that.

Alt.Tekpub: Working More With The Hypermedia (style) API

Continuing on with building out a NodeJS app with Express and other buzzwords - I decided to build out a page using my API, while I build the API.

Alt.Tekpub: Consuming The API

The best way to build an API is to use it while you're building it. At least that's what I find the most effective. But how am I going to consume this API?

Testing Your Model with Mocha, Mongo, and NodeJS

Mongo is installed, our data is ported. Time to roll together our first model: the Customer. How do you model this stuff with MongoDB and Node?

NodeJS Callback Conventions and Your App

NodeJS has a pretty specific convention when implementing callbacks in modules - function(err,result). Does this always make sense?

Alt.Tekpub - Installing and Setting Up Node

The data has been rolled into MongoDB - at least the first round - and now I need to get the API up and tested.

Alt.Tekpub: Moving to MongoDB

I've chosen to use MongoDB - now what?

Alt.Tekpub - A Transparent Learning Process

I love learning in the open. The simple process of relaying what you see/do/think/learn/fear/love can, itself, be illuminating. So here we go again - I'm going to fuddle around live, with some edge technologies, and you get to laugh at me.

A Handy Script For Compiling CoffeeScript On The Fly

Rails 3.1 and beyond has the asset pipeline. Node has connect-assets, and there are plenty of "Just In Time" CoffeeScript compilers out there for other platforms as well. I like using a File Watcher - and here's my code.

JavaScript Is Your Buddy

I've always marveled at the geeks who can write good, clean Javascript. Not jQuery - Javascript. I've never cared much for the language - but my mind has been changed with all the great stuff coming out.

A Fun Little JSON Murder Mystery With IE9

This was a multi-day bug with 10 deployments behind it. I was tired, frustrated and hateful of the incessant problems Internet Explorer brings to the world. I was about to give up. To hack in Yet Another IE Workaround, when I noticed something strange in the response headers...

KnockoutJS Needs a Better Set of Tutorials

Good Lord Above I am going out of my mind with these "tutorials" that murder javascript at the alter of KnockoutJS. It's a dandy little tool - one that apparently leads people to get drunk on HTML Markup, causing them to puke javascript out their noses and into their examples.