Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
interview:developer:20170423:start [2017/07/31 14:56] – don.lee | interview:developer:20170423:start [2017/11/27 11:19] (current) – removed don.lee | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 20170423 nodejs interview ====== | ||
- | |||
- | ===== Javascript ===== | ||
- | |||
- | ==== 問答題 ==== | ||
- | |||
- | Reference: https:// | ||
- | |||
- | < | ||
- | [[https:// | ||
- | |||
- | class User { | ||
- | constructor(name) { | ||
- | this.name = name; | ||
- | } | ||
- | } | ||
- | </ | ||
- | |||
- | < | ||
- | [[https:// | ||
- | </ | ||
- | |||
- | < | ||
- | [[https:// | ||
- | </ | ||
- | |||
- | < | ||
- | [[https:// | ||
- | </ | ||
- | |||
- | < | ||
- | [[http:// | ||
- | |||
- | The difference is scoping. var is scoped to the nearest function block and let is scoped to the nearest enclosing block. | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | * Function.prototype.apply() 是什麼呢? | ||
- | * ES6 跟 ES5 有什么差别?请以代码举例。 | ||
- | * What is JSON? | ||
- | * Explain MVC | ||
- | * 什么是 Callback? | ||
- | * 什么是 Promise? | ||
- | * Callback 跟 Promise 有什么差别?请举例。 | ||
- | * 什么是设计模式 Design Pattern?请指出三个设计模式并以代码说明其中一个。 | ||
- | |||
- | |||
- | ==== 習作題 ==== | ||
- | |||
- | < | ||
- | 數列 | ||
- | |||
- | http:// | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== NodeJS ===== | ||
- | |||
- | |||
- | < | ||
- | Node.js event loop | ||
- | reference: https:// | ||
- | |||
- | https:// | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== MongoDB ===== | ||
- | |||
- | 假设你要做一个图书管理系统。你会怎样设计 MongoDB document 以达到以下需求? | ||
- | |||
- | * 读者能以作者姓名丶分类丶书名丶出版社丶年份找书籍。 | ||
- | * 请写出以作者姓名或书名的 Query? | ||
- | |||
- | ===== Framework ===== | ||
- | |||
- | * 有没有使用 Node.js + Express + MongoDB + Mongoose 的经验?请举例。 | ||
- | * 有没有使用 oAuth 及 Passport.js 的经验?请举例。 | ||
- | * 有没有使用 Backbone.js 的经验?什么是 Model, View?请举例。 | ||
- | * 有没有使用 ReactJS 的经验?请举例。 | ||