第10å課å¤ææ¥ï¼éä¼å¼ æ¨ææ©èï¼é«æ©æªç²ï¼é¦®å¯ä¹ ï¼»èï¼½ï¼æ£æ©äº®ï¼WebSig24/7ï¼»åçï¼½ 2011-02-01
ã¿ãªããããã«ã¡ã¯ (´ã»Ïã»ï½) å æ°ã§ããï¼åã¯å æ°ã§ãâ¦ã ãã¦ãnode.js æµè¡ã£ã¦ã¾ããï¼ä½¿ã£ã¦ã¾ããï¼ åã2æ¥åãã使ãå§ãã¾ããã ã¨ãããããæç§æ¸ã©ããæ¸ããããç°¡åã«Webãµã¼ãåãã¾ããã®ã§ã¡ãã£ã¨æåã§ãï¼ ã¨ããããã以ä¸ã®ã³ã¼ãã httpd.js ã¨ãã¦ä¿åãã¦(é·ãã®ã§éä¸ã§çç¥ãå®å ¨ç㯠http://utf-8.jp/joke/httpd.js ã«ããã¾ã)⦠(+<span data-unlink>)[(</span>[(!<span data-unlink>+</span>)[+<span data-unlink>]+([!</span>]+<span data-unlink>[</span>])[+!+<span data-unlink>+[+</span>]]+(!<span data-unlink>+</span>)[!+<span da
注: ããã®æ´æ°çã§ãã2012å¹´çãããã¾ãã ä»ã®äººãEmacsã使ã£ã¦ããã®ãè¦ã¦ããã¨ãããã£ã¨ä¾¿å©ã«ä½¿ããã®ã«ãã¨ãããã£ã¨ããããããããã®ä¾¿å©ãªæ©è½ã£ã¦ãªã«ï¼ãã¨ãçºè¦ããã£ãããã¾ããã ããã«ããã®è¨å®ãããã¨ä¾¿å©ã§ãããã¨è©±ããããããããã«ãä»ã®Emacsã®ããããè¨å®ãããã«è¨ãã¦ããã¾ãã ãã£ã¬ã¯ããªæ§æ é·å¹´æ¼¬ãè¾¼ãã§ããEmacsã®è¨å®ãããããã®éã«ãªã£ã¦ããã®ã§ã以ä¸ã®ãããªãã£ã¬ã¯ããªæ§æã«ãã¦åé¡ãã¦ãã¾ãã .emacs.d |-- init.el ;; åºæ¬çãªè¨å®ãè¨è¿° |-- config ;; ç¹å®ã®ã¢ã¼ããéæ¨æºã®Elispã®è¨å®ããã®ä¸ã«ç½®ã | |-- builtins.el ;; æ¨æºElispã®è¨å® | |-- packages.el ;; éæ¨æºElispã®è¨å® | `-- packages ;; éæ¨æºElispã®ãã¡ãè¨å®ãå¤
node.js ã®ããã¥ã¡ã³ããè¦ã¦ããã C/C++ ã§ç°¡åã«æ¡å¼µãæ¸ãããã ã£ãã®ã§è©¦ãã¦ã¿ãã addons - Node.js Manual & Documentation ããã¥ã¡ã³ãã«è¼ã£ã¦ãã hello.cc ãã¿ã¦ã¿ãã¨ï¼ #include <v8.h> using namespace v8; extern "C" void init (Handle<Object> target) { HandleScope scope; target->Set(String::New("hello"), String::New("world")); } ãã® extern "C" void init (Handle<Object> target) ã¨ãããã¤ããjs㧠require("hello") ããã¨ãã«å¼ã°ããæããããããã®é¢æ°ã ãã¯å¿ ãå®è£ ããå¿ è¦ãããã ãã®ä¸ã® Ha
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}