basics of php, mongodb and knockoutjs