0

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.

I want to keep it SIMPLE, but still have room to develop extra functionality going forwards, such as saving transcripts in the database.

cjm2671
  • 18,348
  • 31
  • 102
  • 161

2 Answers2

0

You can use faye.

https://github.com/jcoglan/faye

There is also a Railscast for this http://railscasts.com/episodes/260-messaging-with-faye

rangalo
  • 5,448
  • 8
  • 46
  • 66
0

You could consider leveraging Faye which is built on top of Node.js and I believe has WebSockets support too. Possibly route all transcripts with Redis storage.

Michael De Silva
  • 3,808
  • 1
  • 20
  • 24