Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我使用了 Joyent 的 https://no.de/ 来托管我的 Node.js 应用程序。
为了在客户端和服务器之间进行通信,我将使用 http://socket.io/ 。它是一个通信框架,它将选择最合适的通信方法来维持与客户端的连接(持续对话)。
对于提供静态内容,请参阅此答案,获取有关简单 Web 服务器上的精彩文章的链接。
使用node.js作为简单的Web服务器
或者查看这个答案讨论各种 Web 应用程序框架。
https://stackoverflow.com/questions/3809539/choosing-a- web-application-framework-using-node-js
希望这有帮助,&祝你的项目好运!
I've used https://no.de/ from joyent to host my node.js applications.
For communicating between the client and the server I'd use http://socket.io/ . It's a communication framework that will choose the most appropriate communication method to maintain a connection (continuous dialog) with the client.
For serving static content see this answer for a link to a great article on a simple web server.
Using node.js as a simple web server
Or see this answer that discusses various web application frameworks.
https://stackoverflow.com/questions/3809539/choosing-a-web-application-framework-using-node-js
Hope this helps, & Good luck on your project!
你可以看看 Wakanda
它提供了一个完整的堆栈,包括服务器、工作室和客户端框架,所有以非常一致的方式。
我在 stackoverflow 上回答了一个关于 在哪里托管 Wakanda 应用程序,以及另一个比较 不同的现有服务器端 JavaScript 解决方案
You could have a look at Wakanda
It provides a full stack including, the server, the studio, and the client framework, all in a very consistent way.
There is a related question I answered on stackoverflow about where to host Wakanda applications, and another one comparing different existing server-side JavaScript solutions