Tag: javascript
Write a todo list with Express and MongoDB
A todo list website is a good practice to learn a programing language or a framework. It shows you how to create, read, update and delete records. In this post we are going to use Express as our application framework … Continue reading
node.js events
Javascript callbacks
Javascript call and apply
For a long time javascript call and apply have been really confusing me. I neither know when to use it nor what are the differences between these two. Basically call and apply invoke the function and switch the function context … Continue reading
Javascript `this`
What is `this` in javascript? We’ve talked about scopes and closures, this points to the current scope object. In client side the highest scope is window and in node.js the highest scope is the global objects. Javascript is a pretty … Continue reading
Javascript function scopes and closures
npm basic commands
node.js basics
Learning the basics of javascript and node.js After setting up the node.js development environment and know some common uses of npm commands. It’s time to learn the basics of javascript and node.js. Examples and source Examples and source are available … Continue reading
How to setup a node.js development environment on Ubuntu 11.04
Install the latest node.js via apt-get There are several ways to setup a node.js development environment on Ubuntu, you can either choose to download and compile it form source or using apt-get to do the works for you. Because node.js … Continue reading