æ¬ç¨¿ã§ã¯ãNode.jsã®ç¹å¾´ãåä½åçã«è§¦ãããµã³ãã«ãå½¹ã«ç«ã¤ããã±ã¼ã¸ãæ´»ç¨äºä¾ãªã©ãç´¹ä»ãããã¨æãã¾ãã 主ãªãµã¼ããµã¤ãJavaScript Node.jsã«è§¦ããåã«ãäºåç¥èã¨ãã¦ä»ã®ãµã¼ããµã¤ãJavaScriptã«ã触ãã¦ããã¾ããNode.jså«ãããµã¼ããµã¤ãJavaScriptã«ã¯ã主ã«ä»¥ä¸ã®ãããªããã¸ã§ã¯ããããã¾ãã ãµã¼ããµã¤ãJavaScripã®æ¨æºä»æ§ãCommonJSãã¨ã¯ ãµã¼ããµã¤ãJavaScriptã«ã¯ããCommonJSãã¨å¼ã°ããæ¨æºåãçå®ããã¦ãã¾ããæ¨æºåã¨ããã¨é£ããæãããã¾ãããè¦ã¯ãµã¼ããµã¤ãã§JavaScriptãå®è¡ããã®ã«ä½ãå¿ è¦ããä»æ§ã¨ãã¦ãå®ç¾©ãã¦ããããã¥ã¡ã³ãã®ãã¨ã§ãï¼ä¾ãã°ãããã°ãå¿ è¦ã ããããªã©ï¼ã Node.jsã¯ããã®CommonJSã«åã£ã¦éçºããã¦ãã¾ããç¾æ®µéã§ããã°ãCommonJSã®ä»æ§
ãã¾æ³¨ç®ããã¦ãããµã¼ããµã¤ãJavaScriptã®ç«ä»ãå½¹ã¨ãªã£ãNode.jsããã®éçºè ã§ããã©ã¤ã¢ã³ã»ãã¼ã«ï¼Ryan Dahlï¼æ°èªèº«ãNode.jsãç´¹ä»ããè¬æ¼ãIntroduction to Node.js with Ryan Dahl ãã®ãããªãå ¬éããã¦ãã¾ãã ãã®è¬æ¼ã¯ããµã³ãã©ã³ã·ã¹ã³ã®PHPéçºè ã®éã¾ãã§ããThe SF PHP Meetup Groupã2æã«ãã¼ã«æ°ãæå¾ ãã¦è¡ããããã®ã ãã®ãããNode.jsãç¥ããªããããããã¼ã«åãã¦ãNode.jsãã©ã®ãããªç¹å¾´ãæã¤ããã°ã©ãã³ã°è¨èªãªã®ããåããããã解説ãã¦ãã¾ããå 容ãç´¹ä»ãã¾ãããã Node.jsã¨PHPã¨ã®æ¬è³ªçãªéãã¨ã¯ä½ã Node.jsã触ã£ã¦ã¿ãããä»æ¥ã¯ç¹ã«ã¹ã©ã¤ãã¯ç¨æãã¦ãªãã¦ãã¿ã¤ããã¦ã©ããªãã®ããåãããªããç´¹ä»ãã¦ããã¤ããã ï¼æ³¨ï¼ãã¼ã«æ°ã¯ããã§æåã«ã
node.jsã¨MongoDBã®åå¼·ä¼ã«åå ããã®ã§ãäºç¿ããã話ã®ç¶ãã node.jsã®ã¤ã³ã¹ãã¼ã«ãçµãã£ãã®ã§ãWebãã©ã¦ã¶ãã¼ã¹ã®IDE(çµ±åéçºç°å¢)ã§ããCloud9 IDEãã¤ã³ã¹ãã¼ã«ãããã¨ã¦ããã£ãããã¦ãå人çã«ã¯ãã®ããã«node.jsã使ãã¨ãã£ã¦ãéè¨ã§ã¯ãªããããã Cloud9 IDEã¯DaaS(Development  as a Service)ã¨ãã¦ãæä¾ããã¦ãããã社å ã®Firewallãçµç±ããããªãã®ã§ãMacã«ã¤ã³ã¹ãã¼ã«ãããã¨ã«ãããã½ã±ããéä¿¡ã試ãããããã¡ãªã¿ã«ãã¯ã©ã¦ãã§æä¾ããã¦ãããµã¼ãã¹ãããããã¤ã³ã¹ãã¼ã«ãã¦ä½¿ã人ãå°ãªãããããæ¥æ¬èªã®æ å ±ã¯ã»ã¨ãã©ããã¾ããã ã¾ããnpm(node.jsã®ããã±ã¼ã¸ç®¡çãã¼ã«)ã使ã£ã¦ãCloud9ãã¤ã³ã¹ãã¼ã«ããã $ cd ~/.node $ npm install clo
Cloud9ã¯ãã¯ã©ã¦ãä¸ã§æ§ã ãªæä½ãã§ãã¾ããç¡æã§ã¨ãã£ã¿ããããã°ããã¼ã¸ã§ã³ç®¡çetcãããä½ã£ãããã¿ã³ã²ã¨ã¤ã§å ¬éã¾ã§ã§ãã¦ãã¾ãã¾ããææã«ããã°ããã¼ã éçºç°å¢ããã©ã¤ãã¼ãéçºç°å¢ãæ§ç¯ã§ãã¾ãã Cloud9 IDEã¯ãã½ã¼ã¹ã³ã¼ãã§å ¬éããã¦ãã¾ãããã£ããã§ããããã®é«æ©è½ã§ç¾ããCloud9 IDEããã¼ã«ã«ç°å¢ã«æ§ç¯ãã¦ã¿ã¾ãããã ã·ã¹ãã ç°å¢ Mac OS X Lion ã¤ã³ã¹ãã¼ã«æé gitãããã¦ã³ãã¼ããã¾ãã $ git clone git://github.com/ajaxorg/cloud9.git Cloning into cloud9... remote: Counting objects: 30583, done. remote: Compressing objects: 100% (10271/10271), done. remote
ãã®ã¦ã§ããµã¤ãã¯è²©å£²ç¨ã§ãï¼ eightbitbeats.com ã¯ãããªãããæ¢ãã®æ å ±ã®å ¨ã¦ã®ææ°ãã¤æé©ãªã½ã¼ã¹ã§ããä¸è¬ãããã¯ããããããæ¤ç´¢ã§ããå 容ã¯ãeightbitbeats.comãå ¨ã¦ã¨ãªãã¾ããããªãããæ¢ãã®å 容ãè¦ã¤ãããã¨ãé¡ã£ã¦ãã¾ãï¼
naveã§Node.jsã®ãã¼ã¸ã§ã³ç®¡çï¼ã¤ãã³ãã«ã¼ã詳説ï¼node.jsã§ãµã¼ããµã¤ãJavaScriptéçºå ¥éï¼2ï¼ï¼1/3 ãã¼ã¸ï¼ ååã®ããã³ ååã®ããµã¼ããµã¤ãJavaScriptã®æ¬å½ãnode.jsãã®åºç¤ç¥èããã覧ããã ããçãã¾ãã¯ã¦ãªããã¯ãã¼ã¯ãTwitterãªã©ã§ã³ã¡ã³ããããã ãã¾ããæ¹ã ããããã¨ããããã¾ãã話é¡ã®ãNode.jsãã¨ãããã¨ããããã¯ã¦ãªããã¯ãã¼ã¯ã1000ã¦ã¼ã¶ã¼ãè¶ ãã¾ããã ç§ã®åä¸è¶³ãããããããããªæ¹ããææãããã ããã®ã§ãä»åã¯ååã®è£è¶³ã¨è¨æ£ããã¾ãããææããã ãã¾ããçãã¾ããããã¨ããããã¾ããé常ã«åå¼·ã«ãªãã¾ãã ãnaveãã§ç°¡åï¼ Node.jsã®ãã¼ã¸ã§ã³ç®¡ç ååã®è¨äºã§ãNode.jsã¨ãnpmï¼node package managerï¼ãã®ã¤ã³ã¹ãã¼ã«ã説æãã¦ãã¾ããã以ä¸ã®ãããªåé¡ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}