Category Archives: nodejs

Installing Node on AWS Linux AMI

Here are the steps to install node, npm and express on Amazon 32 bit Linux AMI: sudo yum install gcc-c++ make sudo yum install openssl-devel wget http://nodejs.org/dist/node-v0.4.7.tar.gz (Pick the latest stable version available) tar -zxvf node-v0.4.7.tar.gz cd node-v0.4.7 export JOBS=2 … Continue reading

Posted in nodejs, sips | Tagged , , , | 9 Comments

Layout of my Node.js + Express Project

One thing I like about Express is that it provides the most important features for web development with a very smooth learning curve. (Of course a lot of credit should also go to Connect middleware on top of which Express … Continue reading

Posted in nodejs, sips | Tagged | 3 Comments

Javascript Everywhere

Decided to use/learn nodejs + express and mongodb in my toy project, I enjoy using Javascript in every level of my code. I program with Javascript in frontend, webserver and database logics. All my data is either a JS object … Continue reading

Posted in javascript, nodejs, sips | Tagged | Leave a comment

Use nave to install/update node

Maybe I’m getting lazier or there is something good about projects that are easy to deploy. One of the things I like about nodejs is that it’s really easy to download and install. (Similar things could be said for MongoDB … Continue reading

Posted in nodejs | Tagged , | Leave a comment

Node.js + MongoDB = Mongoose

Mongoose is a ORM like library that helps a lot when you want to access your collections defined on MongoDB from Node.js. You can use it without schemas but by defining ORM objects the code becomes much easier to read. … Continue reading

Posted in nodejs, nosql, sips | Tagged , | 1 Comment

Mockups…

In my spare time, I’m working for the mockups of my toy project, goaljuice.com. I try to make it as if it’s functional. Mockups help you to understand the requirements you need on both the frontend and backend. In that … Continue reading

Posted in nodejs, sips | Leave a comment

Tools for my toy project

I have finalized my toolset to play with. I will use nodejs, express, redis, mongodb and riak for my toy project. My purpose is to see how these five technologies work together. This way, instead of barely talking about new … Continue reading

Posted in nodejs, sips | Leave a comment

node.js and Session Handling

node.js provides you a very fast HTTP server, however you have to implement many features by yourself, or you can try to find modules/projects developed for node.js. I prefer the first way and actually this the most fun part of … Continue reading

Posted in nodejs, sips | Tagged , , | 2 Comments

Writing a set of helper functions classes for node.js

I’ve started a new project on github to implement some functionality on nodejs that makes web development easy and fun. I’ve started with the handler class which maps given url patterns to functions or node modules. You can get the … Continue reading

Posted in nodejs, sips | Leave a comment

After meeting with people from nodeJS community…

Yesterday, I had a chance to meet people from nodeJS community. As such a project requires, they are brilliant people with a high motivation. I’m playing with nodeJS for a while and I really like the idea of using Javascript … Continue reading

Posted in nodejs | Leave a comment