now加一个单词变新单词(nowjs for Node Directly call remote functions in Javascript)
Theres nothing to configure, really. You pass in the port you want NowJS to run on, or a http server object and youre good to go. On the client side, simply include
and the correct server/port will be included automaticallyNowJS doesnt take over anything. You can use it with existing frameworks for both client Javascript and Node.js
Never deal with XHR, routing, and serialization/parsing. NowJS takes care of that. Just call the function on the server.
You can use NowJS to communication cross-domain, push and pull, so throw out your XHR.
NowJS v0.5 is supported in Chrome, Opera, Safari, Firefox, iPad/iPhone/iPod Touch, Android, webOS, Internet Explorer 9, and has beta support for IE8/7/6
Using the `groups` feature, NowJS allows you to easily group clients into one or multiple groups. This allow you to address a subset of `everyone` via function calls. Checkout the multiroom chat example.
Single threaded NowJS can handle up to 6500 concurrent users on the chatroom example
For customers that are looking for even greater scalability and reliability, well soon be licensing a distributed version of NowJS currently under development. Contact us at sales@nowjs.com创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!