ãªãexpressã¯ã¬ã¹ãã³ã¹ãè¿ãã¨ãã®JSONã¯é©åã«å¦çãã¦ããããã ãã©ãç¾ç¶ã§ã¯ãªã¯ã¨ã¹ãã¨ãã¦JSONãPOST/PUTããã¦ããã¨ãã«ã¯ãããã©ãã«ããã¦ããããããªãã®ã§ãèªå㧠JSON.parse() ã«ããã¦ããå¿ è¦ããã£ãããã¦ã¡ãã£ã¨æ®å¿µããã®ç¹ããã©ã¼ã å½¢å¼ã 㨠app.use(express.bodyParser()); ãã¦ããã°ãªãã¸ã§ã¯ãããåãåºããã®ã§ä¾¿å©ã§ãªãã¨ãªãç´å¾ã®ãããªããã®ãæããã http://d.hatena.ne.jp/tagomoris/20110906/1315279065 ããããªã¯ã¨ã¹ããããã§ContentTypeãapplication/jsonã«ããã°å¦çã§ãããããã nodeå´ããã㧠var express = require('express'); var app = module.exports = exp
å·èµåº«ã§è¨è¨ããWebãµã¼ãã¹ãå®å¤ç°ãã«ã«å¤§å¥½ãå°ç¨ãã¦ã¿ããã«ã«ã¼ããã8æ8æ¥ã«ãªãªã¼ã¹ãã¾ããã ããã«ããã£ã¨ãã¼ããã ã¼ãã ä»åã®Webãµã¼ãã¹ã®å¶ä½çç±ããã£ããã¾ã¨ããã¨ä»¥ä¸ã®2ç¹ã§ãã ãã©ã¦ã¶ã« uhloop.com ã¨ã ãæã¡è¾¼ãã°ãããã«ããã£ã¨ãå®å¤ç°ãã«ã«ãè´ãã¦ããããã»è¦³ã¦ãããããµã¼ãã¹ã欲ããã£ãã æ´»åä¼æ¢ã©ã¤ãã®DVDãWILD LIFEãã§ãå®å¤ç°ãããã¨ã¦ã楽ãããã«è¦³å®¢ã¨ã¼ããã ã¼ã!!ãè¨ãåã£ã¦ããã·ã¼ã³ã観ã¦ããããèªåãã¼ããã ã¼ãããããªã£ãã ãã£ããã³ãã¼ãããã«ããã£ã¨ãã¼ããã ã¼ãããã¯ãããªæå³ã§ä»ãã¾ããã ãã1ã¤å¤§äºãªãã¨ãæ¸ãå¿ãã¦ãã¾ããããã®ã¦ã¿ããã«ã«ã¼ãã§åçãããPVã¯ãé²è¦§è å ¨å¡ãåãæ²ç®ã»åãåçæéã§è¦è´ã§ãã¾ããã§ãã®ã§ãã¿ããªã§åãæ²ãè´ããªãããã¼ããã ã¼ãã¡ãã»ã¼ã¸ãTwitterãä»ãã¦ã
ã¢ãã¤ã«ã²ã¼ã ç©åãå¢ãã§åèããã¢ãã¤ã«ã²ã¼ã æ¥çã¯ããããããªèª²é¡ãåé¡ã«ç´é¢ããªããã巨大åããä»æ¥ã®æç¹ã§ã®ã¹ãã¼ããã©ã³åãã²ã¼ã ã®å¸å ´ã¸ã¨ç¶æ¿ããã¦ããã¾ãã ã¢ãã¤ã«ã²ã¼ã ã®æ´å² 2001 Javaã¢ããªã¨3Dã²ã¼ã ã®ç»å ´ Javaãå©ç¨ã§ããããã«ãªã£ããã¨ã«ããããã¦ã³ãã¼ãåã®ã²ã¼ã ãä¾çµ¦ã§ããããã«ãªãã¾ããã 2002 æºå¸¯é»è©±ç«¯æ«ã®å¤§å®¹éåã»3Dåç«¶äº Javaæè¼æºå¸¯é»è©±ç«¯æ«ãç»å ´ãã¦ããããå ã1å¹´ã®éã«ãã¢ããªã®ãµã¤ãºã«é¢ãã¦ã¯10åã«åºå¤§åãã表ç¾æ¹æ³ã2Dãã3Dã«ã·ãããå§ãã¾ãããJ-PHONEã¯ãã¼ãã¦ã¹ãããã¹ãã¼ã¹ããªã¢ã¼ããªã©ã¨ãã£ãæã®ã¢ã¼ã±ã¼ãã²ã¼ã ãããã³ã¢ã¯SIMCITYãªã©ãã½ã³ã³ã§ä¸ççè¦æ¨¡ã®ããããé£ã°ããã²ã¼ã ã主åååã¨ãã¦ãã¾ããã 2003 ã¢ãã¤ã«ã²ã¼ã ã®ä¸è¬å ã¡ã¢ãªã®å¶éãå³ããJavaä»®æ³ãã·ã³ä¸ã§ã¯ãªããOS
ã¯ããã« æè¿ããµã¼ããµã¤ãJavaScriptç°å¢ã§ããnode.jsãããã£ãããã¦ãã¾ãã node.jsã¯ã¾ã æ¸ç±ãåºã¦ããªãæ°ããåéãªã®ã§ãæ å ±åéã®æ段ã¯ã¤ã³ã¿ã¼ãããããã¹ã¦ã«ãªãã¾ããWebãµã¤ããããã°ãªã©ãèªã¿ãªããåå¼·ãã¦ããã«ã¤ãã¦ãnode.jsçã®ããã人ãã¡ã¨ããã®ãã ãã ãã¨ããã£ã¦ãã¾ããã ããã§ãããããnode.jsãåå¼·ãã人ã®ããã«ãæ¥æ¬ã«ãããnode.jsçéã®ã¹ã¼ãã¼ã¨ã³ã¸ãã¢ãã¡ãã¾ã¨ãã¦ã¿ã¾ãããå½¼ãã®ä»£è¡¨çãªã¨ã³ããªãæ¸ããã¦ããã ãã¾ãããããã以å¤ã«ãããããæç¨ãªã¨ã³ããªãããã¨æãã¾ãã®ã§ããã²æ¢ãã¦ã¿ã¦ãã ããã @mesoãã twitterï¼http://twitter.com/#!/meso ããããã¨ã³ã㪠Node.jsã«ã¤ãã¦ã®ãããã誤解 - èªåã®æåæ§ããã @sugyanãã twitterï¼https
node.jsã¢ããªã±ã¼ã·ã§ã³ã®ã¹ã¿ã¤ã«ãæ¯é ããå ¬çãªæç« ã¯ããã¾ããããã®ã¬ã¤ãã¯ããªããç¾ãããä¸è²«ããã½ããã¦ã§ã¢ãä½ããããã«ãªãæè¨ãä¸ãããã¨ããç§ã®ç¬æã®è©¦ã¿ã§ãã ãã®ã¬ã¤ãã¯ããªããnode.jsã®ã¿ã対象ã«ãã¦ããã¨ä»®å®ãã¦ãã¾ããããããªãã®ã³ã¼ãããã©ã¦ã¶ãªã©ä»ã®ç°å¢ã§ãåããå¿ è¦ãããã®ãªããããã¤ãã®ã¬ã¤ãã¯ç¡è¦ãã¦ãã ããã æ§ã ãªããã±ã¼ã¸ã ãã§ã¯ãªãnode.jsãã¾ããããããèªä½ã®ã¹ã¿ã¤ã«ãæã£ã¦ãã¾ãããªã®ã§ä½ãã®ããã±ã¼ã¸ã®éçºã«è²¢ç®ãããã¨ã«èå³ãããã®ãªãã°ãããããã®ã«ã¼ã«ã«å¾ã£ã¦ã³ã¼ãã£ã³ã°ã楽ããã§ãã ããã Tab vs Spaces ã¾ãã¯ãã®å®æçãªåé¡ã®è©±ããã¾ããããç§éã®æ æ²æ·±ãç¬è£è æ§ã¯nodeã®ã³ã¢ã«2ã¹ãã¼ã¹ã®ã¤ã³ãã³ããé¸æãªãã£ãã®ã§ãå½¼ã®ç§©åºã«å¾ãã®ãè³¢æã§ãããã ã»ãã³ãã³ ããªãããã»ãã³ãã³ã奪ããã¨ãã
2011.6.14è¿½è¨ ãã¢ãµã¤ãã追å ãã¾ããã 2011.6.6è¿½è¨ node.jsã®ææ°çã§åä½ããããã¨ã³ããªãä¿®æ£ãã¾ããã 2011.5.25è¿½è¨ GitHubã«ã¢ãããã¾ããã詳ããã¯ä»¥ä¸ã®ã¨ã³ããªãã覧ãã ããã (ç¶)node.jsã¨CSSSlide.jsã§ã¹ã©ã¤ãå ±æãããµã³ãã«ããã°ã©ã ãä½ã£ããã - 大人ã«ãªã£ããèºå¼å¸ ã¯ããã« ãã®ã¨ã³ããªã§ã¯ãnode.js + WebSocket(socket.io) + CSSSlide.jsã使ã£ã¦ããªã¢ã«ã¿ã¤ã ã§ãã¬ã¼ã³ãã¼ã·ã§ã³ã®ã¹ã©ã¤ããå ±æãããµã³ãã«ããã°ã©ã ãä½ã£ã¦ã¿ã¾ããã WebSocketã¯Webä¸ã§ãµã¼ãã¨ã¯ã©ã¤ã¢ã³ãã¨ã®ç¸äºéä¿¡ãå¯è½ã«ããä»å¾æ³¨ç®ã®æè¡ã§ããWebSocketã§ããµã¼ãããã¯ã©ã¤ã¢ã³ãã«ãã¼ã¿ãPush(é ä¿¡)ã§ããããã«ãªãã¾ãã ãªã¢ã«ã¿ã¤ã ã®ã¹ã©ã¤ãå ±æ ãªã¢ã«ã¿ã¤ã ã§ãã¬
11/30ã® BPStudy #39 ã«åå ããéã®ã¡ã¢ã Node.jså ¥é - Yohei Sasaki([twitter:@yssk22])ãã è³æï¼Bp study39 nodejs Google V8 Evented I/O non-blocking I/O Framework or Middleware ECMA-262 3rd Edition + 5th Edã®ä¸é¨ CommonJS JavaScriptã®æ¨æºåã®ä¸ç° ã¢ã¸ã¥ã¼ã«ãã¦ããããã¹ããããã±ã¼ã¸ã... exports.hello = function(){ console.log('hello, world'); } ãµã¼ããµã¤ãã§Javascript IEã«ç¸ãããªãï¼ï¼ ã¯ã©ã¤ã¢ã³ãå´ã§åé¡ãããå ´åãã¸ãã¯ããµã¼ãã«ç§»åã§ãã ãªãJavascriptãï¼ ã¿ããªä½¿ã£ã¦ã ãããã¯ã¼ã¯ããã°ã©ã ãæ¸ãã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}