20歲大學生,目前負責處理 django 在 Query 的整理,並可逐步支援 nosql 並以 mongo 作為測試案例。
相關連結:
20歲大學生,目前負責處理 django 在 Query 的整理,並可逐步支援 nosql 並以 mongo 作為測試案例。
相關連結:
來源:https://www.cloudkick.com/blog/2010/aug/23/writing-nodejs-native-extensions/ , http://lupomontero.e-noise.com/blog/writing-node-js-modules-in-cpp
程式碼:https://github.com/pquerna/node-extension-examples/tree/master/helloworld
由於 Node.js 是採用 v8 作為引擎,所以要擴充他的物件與函式,也算是寫 v8 的模組。
因為我也是 c++ noobie…,所以用初學者的觀點介紹一下這個最簡單的模組好了。以下有範例與說明