A presentation on how to build realtime web applications using node.js, V8 and WebSockets. This is a presentation I have given to Taipei Open Source Software User Group. A big thanks goes to Ping for the invitation.
I/Oæ©è½ã®æ¡å¼µã«ããCometã®ãµãã¼ã Tomcat 6.0.xã§ã¯APRãJ2SE 1.4ããå°å ¥ãããNew I/Oãæ´»ç¨ãããã¨ã§I/Oæ©è½ãå¤§å¹ ã«æ¡å¼µããããç¹ã«ããã©ã«ãã§Cometããµãã¼ããã¦ããç¹ã¯ãWebã¢ããªã±ã¼ã·ã§ã³éçºè ã«ã¨ã£ã¦è¦éããªããCometã¨ã¯ãHTTPã使ç¨ãã¦çä¼¼çã«ããã·ã¥åã®éä¿¡ãå®ç¾ããæè¡ã®ç·ç§°ã§ããã HTTPã«ããéä¿¡ã§ã¯ãã¯ã©ã¤ã¢ã³ããããµã¼ãã«ãªã¯ã¨ã¹ããéããããããµã¼ãã¯å³åº§ã«ãããå¦çãã¦ã¬ã¹ãã³ã¹ãè¿ãã¨ããã®ãæ®éã ããµã¼ãã¯ååã¨ãã¦ã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ãã«å¿çããã ãã§ãããéä¿¡ãå§ããã¿ã¤ãã³ã°ã¯ã¯ã©ã¤ã¢ã³ãå´ãæ¡ã£ã¦ããã ããããã®æ¹æ³ã ã¨ããµã¼ããã¯ã©ã¤ã¢ã³ãã«å®æçã«ãã¼ã¿ãéãç¶ãããå ´åããå¤æ°ã®ã¯ã©ã¤ã¢ã³ãã«ä¸æã«ãã¼ã¿ãéãããå ´åã«ã¯åé¡ããããã¯ã©ã¤ã¢ã³ãå´ã§ã¯ãµã¼ããããã¤ãã¼ã¿ãéããã¦
ãã¦ããå¾ ãããã¾ãããããããCometã¨Lingrã«ã¤ãã¦ã®æè¡è§£èª¬ã§ãã â Comet解説 ãã¦ãã¾ãã¯Cometã¨ã¯ä½ã§ãã©ãããèæ¯ã«ãã£ã¦çã¾ããã®ããã«ã¤ãã¦ã®è§£èª¬ããå§ãã¾ãã ã¾ãåæã¨ãã¦ãWebã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ã¯ãéä¿¡éå§ã®ããªã¬ã¼ã¯å¸¸ã«ã¯ã©ã¤ã¢ã³ãå´ãæ¡ã£ã¦ãã¾ããã¤ã¾ãURLãå ¥åããããã¿ã³ãã¯ãªãã¯ããã¨ããªã©ã«éä¿¡ãçºçãããã¨ã«ãªãããã§ããããã®ãããªã¢ã¼ããã¯ãã£ã¯ããµã¼ãå´ã§çºçããå¤åããªã¢ã«ã¿ã¤ã ã«ã¯ã©ã¤ã¢ã³ãå´ã«éç¥ãããã¨ãåççã«ã§ããªããã¨ãæå³ãã¾ãã ãã£ããã»ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãè¤æ°ã®ã¦ã¼ã¶ããä¸å®æã«ã¡ãã»ã¼ã¸ãéä¿¡ããããããä»ã®åå è ã«ä¸æã«é ä¿¡ãããªããã°ãªãã¾ãããããããã¡ãã»ã¼ã¸ãåãåã£ããµã¼ãå´ã§ã¯ããããã¯ã©ã¤ã¢ã³ãã«å³åº§ã«ããã·ã¥ã§éç¥ããæ¹æ³ããªãã®ã§ãã ãã®ãããä¸å®æéãã¨ã«ãã©ã¦ã¶ããµã¼ãã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}