Using Rails 5 ActionCable and RethinkDB to build a Reactive WebSocket App

In this article we will demonstrate how to build a WebSockets driven application using Rails 5’s ActionCable. By using RethinkDB’s active changefeeds feature we can eliminate the need for a separate event broadcasting service like Redis, resulting in elegant and succinct code.The application that we will be building is a collaborative spreadsheet application much like Google Sheets. It will broadcast to each user the selected cells in different colors, the data in the cells and will guard against multiple users editing the same cell.
Using Rails 5 ActionCable and RethinkDB to build a Reactive WebSocket App #ruby #rubydeveloper #rubyonrails #reactive #websocket https://rubyonrails.ba/single/using-rails-5-actioncable-and-rethinkdb-to-build-a-reactive-websocket-app

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles