I started this blog when I started at HUGE back in January 2011 because I saw another co-worker doing it. I thought it’d be fun to start keeping track of what I was doing and what I was learning. Everything I wrote wasn’t too important to the vast world because it was such rudimentary knowledge (basic HTML and CSS).
Over the past couple of months I have found myself using a notebook. I’m still at Huge by the way! Taking notes almost daily on things I’ve learned. Now that I’m starting to write notes to myself about things that matter more (later technologies) I figure it’d be a great time to start sharing.
My next project is going to be going for two months and involves the use of NodeJS and MongoDB. I plan on sharing random thoughts and notes from this project as I move along.
This blog will undergo plenty of changes as time goes by. I need to refactor a bunch of things, add a few pages, add some abilities for others to comment, and point blog.jasonsemko to here. For now, it’s nice to have an outlet.
I started this project without much knowledge of how Node or Mongo work. I spent the last 10 months with a team creating the new GIA website. It was a long and tough process that involved a lot of Java, JSPs and something called Oracle Webcenter Sites. As you can tell from the site itself, the website was a success. Now that I’m moving on I realized one big weakness in my Java programming. Data Collections. I’ll be writing a post about those data collections and what I took away from it in a later post. For now I’m going to be looking over notes and adding more posts here to reinforce my knowledge.
npm install optimist --save
The above line is a great and common feature of Node. The NPM is a package manager like MacPorts or Homebrew. What it does is install extra modules offered at npsjs.org. There’s a great contributor tjholowaychuk who has made a lot of helpful modules I’ll be using for this upcoming project. The vanilla version of node can do a lot, but it was made for modules. Here is a list of the modules I will be working with on the upcoming project.
The most important module listed here IMHO is the Mongoose module. This module makes bridging the connection between Node and Mongo easy. Checkout out some of their examples.