开发者

Live chat in ruby on rails application

开发者 https://www.devze.com 2023-01-08 15:37 出处:网络
Can anyone suggest me the approach of implementing the live chat functionality in my ruby on rails application? Is there an开发者_如何学运维y plugin exists to implement this functionality?

Can anyone suggest me the approach of implementing the live chat functionality in my ruby on rails application? Is there an开发者_如何学运维y plugin exists to implement this functionality?

Thanks


Yes, Juggernaut. Unfortunately it requires flash, but it works pretty well otherwise. You might also want to look at the WebSockets standard, as there is flash emulation for it in browsers that don't support it yet.


A very simple (possibly not very efficient) implementation would involve using AJAX to send new messages and receive conversation updates. The conversation could be a database backed object shared amongst the users involved. Each user's page would then poll for updates to that object.

0

精彩评论

暂无评论...
验证码 换一张
取 消