简体   繁体   English

我应该使用node.js + express还是Rails + Juggernaut建立聊天室?

[英]Should I use node.js + express or Rails + Juggernaut to build a chat room?

I'm trying to build a chatroom in the conventional sense to operate in the browser but with a decent API layer allowing for decent abstraction between the server and the client. 我试图建立一个常规意义上的聊天室,以便在浏览器中进行操作,但要有一个体面的API层,以便在服务器和客户端之间进行体面的抽象。

I want to keep it SIMPLE, but still have room to develop extra functionality going forwards, such as saving transcripts in the database. 我想使它保持简单,但仍然有发展未来更多功能的空间,例如将成绩单保存在数据库中。

You could consider leveraging Faye which is built on top of Node.js and I believe has WebSockets support too. 您可以考虑利用基于Node.js构建的Faye ,我相信也支持WebSockets。 Possibly route all transcripts with Redis storage. 可能使用Redis存储路由所有成绩单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我想用Rails建一个聊天室,我应该使用juggernaut 2还是抽筋? - I want to build a chat room using Rails, should I use juggernaut 2 or cramp? 我应该在node.js或rails中实现GCM服务器吗? - should I implement a GCM server in node.js or rails? RailwayJS / Express on Railway:一个真正的node.js替代Ruby On Rails? - RailwayJS/Express on Railway: A true node.js alternative to Ruby On Rails? 在我获得主宰工作之后,如何在轨道上设置带有红宝石的功能性聊天框布局? - How do I set up a functional chat box layout with ruby on rails after I have gotten juggernaut to work? 有人可以帮助我理解node.js以及如何以及为何将其与Rails等框架一起使用吗? - Can somebody help me understand node.js and how & why I might use it with a framework like rails? 使用Rails应用程序桥接一个简单的Node.js和Socket.io聊天应用程序(在Heroku上) - Bridging a simple Node.js & Socket.io chat app with a Rails app (on Heroku) 我是否需要构建node.js应用程序才能使用trigger.io? - Do I need to build a node.js app in order to use trigger.io? node.js + nginx + rails聊天在localhost上有效,在Amazon EC2上无效 - node.js + nginx + rails Chat does work on localhost, doesn't work on Amazon EC2 Ruby on rails和Node.js - Ruby on rails and Node.js 如何在node.js和rails中链接两个应用程序? - How do I link two apps in node.js and rails?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM