nginx(1.3.13)ã§WebSocketã®ãããã·ã試ãã¦ã¿ã¾ãã 2013/2/19ã«nginxãæ£å¼ã«WebSocketã«å¯¾å¿ããã¨ã¢ãã¦ã³ã¹ããã£ãã®ã§ã試ãã«ä½¿ã£ã¦ã¿ã¾ããã ãã¦ã³ãã¼ãã»ã¤ã³ã¹ãã¼ã« ããããnginx-1.3.13ããã¦ã³ãã¼ããã¦ãã¦ãã¤ã³ã¹ãã¼ã«ãã¾ãã ã¤ã³ã¹ãã¼ã«ãªãã·ã§ã³ã¯ããã¦ããã©ã«ã㧠$ wget http://nginx.org/download/nginx-1.3.13.tar.gz $ tar xvf nginx-1.3.13.tar.gz $ cd nginx-1.3.13 $ ./configure $ make $ sudo make install è¨å®ãã¡ã¤ã«ã®æ¸ãæã 次ã«nginx.confãæ¸ãæãã¾ããæ§æ㯠ãªãã¼ã¹ãããã·: 192.168.0.8:80 ããã¯ã¨ã³ããµã¼ã: 192.168.0.2:3000
F5 Sites DevCentral Connect & learn in our hosted community F5 Labs The latest threat intel and research to help protect your apps MyF5 Your key to everything F5, including support, registration keys, and subscriptions Partner Central Research and support for partners LearnF5 Guidance, insights, and how to use F5 products Contact F5 Contact F5 Sales Talk to an F5 sales representative Contact F5 Su
ããã«ã¡ã¯ããããã ãã§ãã ä»åã¯CoffeeScriptã«ã¤ãã¦ã§ãã CoffeeScriptã¯Ruby on Rails 3.1ããããã©ã«ãã§ä½¿ããã¦ããããSpineã¨ããJavaScriptã®MVCãã¬ã¼ã ã¯ã¼ã¯ã«ä½¿ããã¦ãããããã¾ãã (Spineã«ã¤ãã¦ã¯ãSpine.js ãã¯ããããããåç §ãã¦ã¿ã¦ãã ãã) CoffeeScriptã¨ã¯ å ¬å¼Webãµã¤ãã«ã¯ä»¥ä¸ã®ããã«ããã¾ãã CoffeeScript is a little language that compiles into JavaScript.(JavaScriptã«ã³ã³ãã¤ã«ããå°ããªè¨èªã§ã) RubyãPythonã¨ä¼¼ã¦ããã¨è¨ããã¦ãããè¤éã«ãªããã¡ã®JavaScriptãã·ã³ãã«ã«æ¸ããã¨ãã§ããè¨èªã§ãã <script type="text/coffeescript">ã¨æå®ãããã¨ã§
WebSockets are a hot topic now a days with the HTML5 push, even though they are not officially part of HTML5 spec. If WebSockets are new to you, they are a way of being able to keep a connection open from the clientâs browser to the server. It will let you push data back and forth, think AJAX but without  the need of pulling for new data over and over. WebSockets give you the ability to push, whic
By Ilya Grigorik on December 22, 2009 WebSockets are one of the most underappreciated innovations in HTML5. Unlike local storage, canvas, web workers, or even video playback, the benefits of the WebSocket API are not immediately apparent to the end user. In fact, over the course of the past decade we have invented a dozen technologies to solve the problem of asynchronous and bi-directional communi
ã¨ã¦ãç°¡åã§ãã 10åãããããã«è©¦ããã®ã§ããã£ããã©ããã ä¸å¿githubã«ã½ã¼ã¹ãç½®ãã¦ã¾ãã®ã§ãèå³ãããããã¯ãã¡ããè¦ã¦ã¿ã¦ä¸ããã(âÊ»â¡Ê»â) https://github.com/nihitok/Kantan-websocket ä½ããã® websocketã§åããã£ãã æåã«ãgemã§em-websocketãã¤ã³ã¹ãã¼ã«ãã¾ããem-websocketã®è©³ç´°ã¯ãã¡ããhttps://github.com/igrigorik/em-websocket $ gem install em-websocket ç°å¢ã«ãã£ã¦ã¯ä¾åããã©ã¤ãã©ãªããªãã¦æããããããããããã¾ãããããã®å ´åã¯ã¨ã©ã¼ã¡ãã»ã¼ã¸ã§ã°ã°ãã¦è¦ã¦ä¸ããã 次ã«ãé©å½ãªHTMLã§ãindex.htmlããä½ãã¾ãã <html> <head> <script src='http://ajax.go
WebSocket ãå©ç¨ããã¢ããªã±ã¼ã·ã§ã³ãä½ãéã«ãåä½ç¢ºèªãç ©éãªå ´åãããã¾ãã ãµã¼ãå´ã¨ã¯ã©ã¤ã¢ã³ãå´ãã©ã¡ããå®è£ ããå¿ è¦ããã£ã¦ããã¡ãã£ã¨ãã®é¨åã ãåããã¦ã¿ãããªããã£ã¦ããã¨ãã«ãç°¡åã«è©¦ãæ¹æ³ãããã¨ä¾¿å©ã§ãããï¼ ãããªã¨ãã«ãããããªã®ãã wscat ã§ãã wscat ã¯ãã³ãã³ãã©ã¤ã³ã§å©ç¨ã§ãã WebSocket ã®ãµã¼ã/ã¯ã©ã¤ã¢ã³ãã§ãws ã«å梱ããã¦ãã¾ãã ws ã¨ã¯ã Node.js ä¸ã§ WebSocket ã使ãããã®ã¢ã¸ã¥ã¼ã«ã§ãSocket.IO ãengine.io ã®å é¨ã§ãå©ç¨ããã¦ããä»æ³¨ç®ã®ãããã¯ãã§ãã ä»åã¯ããã® wscat ã®ä½¿ãæ¹ããç´¹ä»ãã¾ãã 対象ãã¼ã¸ã§ã³ ws (0.4.7) ã¤ã³ã¹ãã¼ã« Node.js ã®ã¢ã¸ã¥ã¼ã«ãªã®ã§ã npm ã§ã¤ã³ã¹ãã¼ã«ããã®ãç°¡åã§ãã $ npm install -
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}