Skip to content

Instantly share code, notes, and snippets.

@jeanbaptistebeck
Last active February 11, 2016 08:05
Show Gist options
  • Save jeanbaptistebeck/210b24cbe5e23ddbb534 to your computer and use it in GitHub Desktop.
Save jeanbaptistebeck/210b24cbe5e23ddbb534 to your computer and use it in GitHub Desktop.
ActionCable & Websockets

ActionCable & WebSockets

Gif

Hey! Hey server! You got any new data? Server? SERVER!.

What are Websockets ?

WebSocket is a protocol providing full-duplex communication channels over a single TCP connection.

Faye

Faye is a publish-subscribe messaging system based on the Bayeux protocol. It provides message servers for Node.js and Ruby, and clients for use on the server and in all major web browsers.

Add web socket notification for each user when a user login

ActionCable

Framework for real-time communication over websockets

Installing rails 5

gem install rails -v '5.0.0.beta2'
rails _5.0.0.beta2_ new chatter

Getting started with Rails 5's ActionCable and websockets

Action Cable - Friend or Foe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment