29 Jul '13, 12am

Chat Example App Using Server-Sent Events [foreign-it] - RubyFlow:Rails 4 can stream data to the browser with Acti..

Rails 4 can stream data to the browser with ActionController::Live using server-sent events (SSEs). Mason was curious how server sent events worked so he decided to use them to implement a simple chat application. Tiny-chat is a chat app he built using Goliath, Redis Pub/Sub and of course server-sent events. Read the source-code walkthrough here

Full article: http://www.rubyflow.com/items/9620-chat-example-app-using...

Tweets