After one amazing year, I’m leaving Spiir in early July to find new challenges. It’s been a great ride here and I’m very fortunate to have been able to work with some of the most influential people in my entire life.
I will be moving to Copenhagen in the next few months where I'll be joining the guys over at miinto.
Every blog needs a first post. So I figured it's probably a good idea to get it out of the way quickly.
Originally I wrote this blog from the ground up in C# for the Azure platform using Table Storage and Blob Storage, I know, overkill, but since I've been wanting to develop a real application in NodeJS I wanted to try something new. I've been using RequireJS a lot lately, and combined with KnockoutJS it's the perfect match for client side javascript applications, therefore it was also obvious that I wanted to use RequireJS on the server side, and there's only a few configurations needed for it to run perfectly with NodeJS. Express and Jade seemed like the obvious choice after just a few minutes of reading up on NodeJS-frameworks. Express is quick to learn and start playing with, hence the name, while Jade requires a bit more reading up on the documentation and trial-by-error, but once I had the basics down I found Jade to be an extremely powerful view-engine and I can't see myself ever writing standard HTML again. Ever.
As per data handling, I could've chosen the easy path and continued using Azure since there's already an Azure SDK for NodeJS, but as I mentioned earlier, I wanted to try something completely new, and I already had my eyes on Redis and MongoDB. I chose MongoDB because I already had experience using Redis. Mongoose seemed like the strongest backed framework for MongoDB so I went straight ahead and added a MongoLab database to a new Heroku application. That's pretty much it, and definitely not overkill.
You can find the source code for srn.js and the original blog written for Azure on my Github profile.