stockNum.App Something new is just around the corner ðð
stockNum.App Something new is just around the corner ðð
ã¾ã1ã¤ãNode.jsãã¼ã¹ã®Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãSocketStreamããç»å ´ãã¾ããã6æ23æ¥ã«ãã³ãã³ã§éå¬ãããHacker Newsã®ãã¼ãã¢ããã§çºè¡¨ãããããã§ãï¼@makoto_inoueãããæ å ±æä¾ãããã¨ããããã¾ãï¼ï¼ãGitHubã®ã¬ãã¸ããªã«ã¯ãã¼ã¸ã§ã³0.1ã®ã½ã¼ã¹ã³ã¼ãã¨ãä½ãã§ãããã¨ãããµã³ãã«ã³ã¼ããå«ãé·å¤§ãªããã¥ã¡ã³ããå ¬éããã¦ãã¾ãã ãã®SocketStreamã¯ãåã«ã¾ãNode.jsã§Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã1ã¤å¢ããã¨ããæãã§ã¯ãªãããã§ããå¾æ¥ã®ãã®ã¨ã¯ãè¨è¨ããã©ã¹ãã£ãã¯ã«ç°ãªã£ã¦ãã¾ãã ã¾ããååããèªæãªããã«ãWebSocketãåºæ¬ã¨ãã¦ãã¦ãSPAï¼Single Page Applicationï¼ãä½ããããããã«è¨è¨ããã¦ãã¾ããSPAã¨ã¯ã1ãã¼ã¸ã®HTMLãèªã¿è¾¼ãã ããå¾
JS2Coffee The JavaScript to CoffeeScript compiler. Source $ npm install js2coffee $ js2coffee input.js > output.js
ããã«ã¡ã¯ãæ¯å¹´è±ç²çã«ãªãããã¦ãã飯å¡ã§ãã æè¿ã®Node.jsã®æ®åãªã©ã«ãã£ã¦ãµã¼ããµã¤ãJavaScriptçéãçãä¸ãã£ã¦ãã¾ãã ãããªããããªJavaScriptãã©ã¯ã«ãã¤ã¨ã¬ã¬ã³ãã«æ¸ãããã®CoffeeScriptã¨ããè¨èªããã¥ã¼ããªã¢ã«é¢¨ã«ç´¹ä»ãã¾ãã ä½ãããã®ã©ã¤ãã©ãªãèªåã§æ¸ãç¨åº¦ã«JavaScriptã§éçºãã¦ãã人ã¯çµ¶å¯¾ã«ä½¿ã£ãã»ããããã¨æãã¾ãã JavaScriptãç¥ã£ã¦ããã°1-2æéç¨åº¦ã§ååé§ä½¿ã§ããããã«ãªãã¾ãã ï¼2011/6/28ï¼@m_satyræ§ã«ãææé ããç®æãä¿®æ£ãã¾ãããï¼ ç®æ¬¡ CoffeeScriptã¨ã¯ï¼ ã¤ã³ã¹ãã¼ã« Hello World æ§æ é¢æ° å¤æ°å±é Objectã®çæ ã«ã¼ã åå¨ãã§ã㯠ãã¢ããã¥ã¡ã³ã thisã®ãã¤ã³ã ã¯ã©ã¹ ç¡åé¢æ° {var} Tips ?ã®ä½¿ãåã åå¨ãã§ãã¯
æ¯æ¥ããã°ãæ¸ãããã«ãããä½èª¿ãè¯ããªã£ã ããæ¥ãµã¨ããæè¿ã®èªåã¯ã¢ã¦ããããã«èç ã«ãªã£ã¦ãããªã¼ãã¨æããããããã¨ã³ããªãæ¸ããã daiksy.hatenablog.jp å 容ã¯ãéãªã¢ã¦ããããã§ãã ãããã¼ããèããæµ ããªãã¿ãããªãåãã®ç®ãå¥ãããããã¨ãæãã¦ããããèªåãéå°ã«æèããã»ã©â¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}