Well, it’s been quite a while since I’ve blogged about…well…anything, and I figured it’s about time I get off my lazy butt and do something with my spare time on weekends. What better option than to see what all the hype is about Node? I had to do it sooner or later.
One of the first oddities I noticed, was that NodeJS seems to have a convention of comma-first. You notice this immediately because most examples start with require(‘module’), and if they require more than one module, the second line is prefixed with a comma (as opposed to the more traditional comma at the end of the line). I apparently missed the discussion by 2 years! It was still interesting nonetheless.
As someone with a strong .NET background, I definitely experienced all the usual ‘gotchas’:
- == vs ===
- falsey values
- variable hoisting
Not too longer after, I deployed my first Heroku app running on NodeJS.
Anyways, enough with the prologue…I won’t bore you with anymore beginner/tutorial stuff.
Let’s get on with what I plan on doing over a multi-part blog series. When I build something on my own time, I can’t build something just for the hell of it to learn something….that’s not enough. If I build something it has to be useful – something that I (or someone else) will find valuable.
I won’t reveal what it is yet, but it’s going to involve Node/MongoDB on the backend, with Backbone on the front-end. Should be fun :-)