Comparing 5 Project Management Tools

Project Management

I would like to describe the solutions I want to use before comparing, here’s my ideal solution:

  • Easy to manage my members, including adding, removing and manage the authority of members.
  • Easy to add, modify, remove and discuss about tasks and issues, even can add tasks and issues by email. And the tasks and issue have to be displayed clearly.
  • Has a gantt and calendar to let member see all projects at a glance.
  • Continue reading

node.js events

Javascript is an event driven language and this is the most important thing that makes node.js an awesome toolkits. Javascript works like human. For example if there are 5 things to do, they are

Continue reading

Javascript callbacks

What is a callback? A callback is a function to be executed after another function is executed. Sounds tongue-twisted? Normally if you want to call function do_b after function do_a the code looks something like

Continue reading

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 with the first argument. The main difference between these two is with call the rest arguments are passed to the calling function and those arguments have to be listed explicitly. However with apply the amount of arguments don’t have to be predefined. we can pass in an array.

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 free language. You can either code in functional programming style or object oriented programming style. With functional programming you pass variables and callbacks around. this is quite useless. However with OOP this is a must.

Continue reading

Javascript function scopes and closures

Javascript uses function as scope. Declare a function inside another function creates a different scope. Let’s look at the example code below.

Continue reading

npm basic commands

The most commonly used npm commands

After setting up n node.js development environment, you need to know some basic commands of node package manager npm. The followings are the most commonly used ones.

Continue reading

node.js basics

Learning the basics of javascript and node.js

Scaffold

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 on github

Continue reading

What have I learned from Startup Weekend

Don’t get it wrong, it’s not a hack day

Startup Weekend Logo

Why and how it works

I met James Hill on a RGBA meet up in mid of this year and he invited Felix, ihower and me to join Startup Weekend Taipei in Aug.

So what is Startup Weekend? It is a 2 days event for entrepreneurs to share new ideas and to turn them into products within 54 hours.

The fellowing is how it goes:
  • Pitch your idea.
  • Vote for the top 10 ideas(we had 14 at the end).
  • Join or recruit others to your team.
  • Discuss features, business models and start building the product.
  • Demo & present.

Continue reading

How to setup a node.js development environment on Ubuntu 11.04

Install the latest node.js via apt-get

nodejs

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 is still a pretty young project, it updates frequently. I suggest installing node.js via apt-get. You will find it is much easier not only to install but also update it. If you are on a Mac you can check out this post for the instruction.

Continue reading