好的服务器 JavaScript 主机/框架?

发布于 2024-12-25 13:47:24 字数 1536 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光暖心i 2025-01-01 13:47:24

我使用了 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!

冷血 2025-01-01 13:47:24

你可以看看 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文