The Next Next Adventure

After a stretch of radio-silence, I'm ready to get back into writing again. We're settled in after a very busy second half of the year. The JavaScript Capital of the World We wanted to live in San Francisco but the reality of that just wasn't possible. We did end up in the next best place, Oakland! As you can imagine, moving your family 2000 miles isn't the easiest thing to do. But, we made it and have been settling in. It's been a blast getting to know Oakland. I've really enjoyed being in the heart of the JavaScript community. There »

The Next Adventure

The past 4 years here in Indianapolis have been wonderful and a time of growth for me. I have many happy memories as I look back at our time here. But, it is time for us to move on. This summer my family and I will be moving to San Francisco. Goodbye Pinnacle of Indiana Sadly this means that it's time to leave my job at Pinnacle of Indiana. I've really enjoyed the last few years working there. They are a great development team and I will miss working with them. If you are looking for a team to help »

Using Karma for JavaScript Testing

Getting the tooling to do TDD with JavaScript code has been something that I've been struggling with for the last year. There have been lots of tools that can handle one aspect or another of JavaScript testing, but nothing was a complete solution. I thought our needs would be fairly common since we're using pretty standard tool sets. I wanted: Ability to run JS tests automatically or with a simple key command within Visual Studio (ala Resharper) The ability to use wildcards for our source and test files. Listing each file out is too painful on a large project. TeamCity »

Getting started with Node.js and Nginx

I've started to move on to the next phase of learning about Node.js. I have a few sites created and for the most part IISNode has done a good job allowing me to run within IIS. Enabling output and kernel level caching gives a nice boost to performance as well. While this is all well and good, it's not how Node.js is generally run in production scenarios. I decided it was time to learn about hosting Node.js sites on Linux behind nginx. The Goal Here's what I want to accomplish. Get a Linux VM setup; Ubuntu 13. »

A Pattern for Connecting to MongoDB in an Express App

A common question I've seen on StackOverflow asks for the best way to open a connection to MongoDB when starting up your Express app. Folks generally don't care for just putting all of the Express setup in the callback of the MongoDB connect call, but it seems to be the generally accepted approach. I didn't like it either and felt that there must be a better way. Here's what I came up with. The Callbacks You can't really escape the callbacks when dealing with the native MongoDB driver. Pretty much every call expects a callback. The way I deal with »