JavaScript 通讯框架 NowJS
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://nowjs.com/
- 软件文档: http://nowjs.com/doc
软件介绍
NowJS 是一个实现了 JavaScript 服务器端进行通讯的框架,基于 Node.js 开发。
示例代码:
服务器端:
<script src="/nowjs/now.js"></script>var everyone = require("now").initialize(httpServer); everyone.now.getServerInfo = function(callback){ db.doQuery(callback); return "done!" }everyone.now.distributeMessage = function(message){ everyone.now.receiveMessage(this.now.name, message); };
客户端代码:
<script type="text/javascript" src="http://localhost:8080/nowjs/now.js"></script>
<script type="text/javascript">
now.ready(function(){
// alerts "Hello World!"
alert(now.msg);
});
</script>
C# Primer Plus
Klaus Michelsen / Sams / 2001-12-15 / USD 49.99
C# Primer Plus is a tutorial based introduction to the C# language and important parts of the .Net Framework. Throughout the book the reader will be exposed to proven principles enabling him to write ......一起来看看 《C# Primer Plus》 这本书的介绍吧!
RGB转16进制工具
RGB HEX 互转工具
Markdown 在线编辑器
Markdown 在线编辑器
