November 2017
Intermediate to advanced
1084 pages
28h 41m
English
Action Cable provides an easy way to add real-time, low-latency communication between the browser and your Rails 5 server backend, using a technology called web sockets. It eliminates the need for Ajax polling, or old-school, brute-force methods like this classic webmaster technique:
<meta http-equiv="refresh" content="5" />
Most importantly, it is well integrated into the rest of Rails and follows its conventions in a way that feels natural. DHH formally introduced it in his 2015 Railsconf keynote, alongside Rails API mode—both innovations represent ways that Ruby on Rails is staying relevant in the face of competition from the likes of React, Angular, and Firebase.
Web ...
Read now
Unlock full access