Node.JS Server SockJS-node
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/sockjs/sockjs-node
- 软件文档: https://github.com/sockjs/sockjs-node
软件介绍
SockJS-node is a Node.js server side counterpart of SockJS-client browser library written in CoffeeScript.
To install sockjs-node run:
npm install sockjs
(If you see rbytes dependecy failing, don't worry, it's optional, SockJS-node will work fine without it.)
An simplified echo SockJS server could look more or less like:
var http = require('http');
var sockjs = require('sockjs');
var echo = sockjs.createServer();
echo.on('connection', function(conn) {
conn.on('data', function(message) {
conn.write(message);
});
conn.on('close', function() {});
});
var server = http.createServer();
echo.installHandlers(server, {prefix:'/echo'});
server.listen(9999, '0.0.0.0');
Don't Make Me Think
Steve Krug / New Riders Press / 18 August, 2005 / $35.00
Five years and more than 100,000 copies after it was first published, it's hard to imagine anyone working in Web design who hasn't read Steve Krug's "instant classic" on Web usability, but people are ......一起来看看 《Don't Make Me Think》 这本书的介绍吧!
