ActionCable - Not Another Chat App - by Jesse Wolgamott | RailsConf 2016 51
The Modules
Quick Overview
Ɇ
Channel
Streaming channels clients can subscribe to. Channels
have a name, which can be dynamic `cart_#{user_id}`
Ʊ
Cable
The upgraded connection between browser and
server. There’s one connection, many channels.
Subscription
JS Side, you subscribe to a channel, and handle when
you `received` data and broadcast back to server.
Broadcast
From Rails, you broadcast messages to a channel
ActionCable