~/talk

ActionCable, Rails API and React - Modern Single Page Apps

Talkat Rails Pacific 2016 · 2016-05-20..05-21· [ruby-on-rails, react]
slides:none on file

Rails 5 claims to pair a slimmed Rails API backend with ActionCable WebSockets to power modular SPAs; the demo shows a Rails API app (API-only controllers, ActiveRecord) broadcasting comment payloads via Redis adapter and Puma for concurrent connections to a separate Node/React client, where a React + Redux component receives updates and updates state automatically. The build is a working realtime message/comment flow across Rails and a standalone React app, not just theoretical.

AI-written summary · about

  1. 0:00Start
  2. 1:32Second time in Taiwan
  3. 6:24Rails 5
  4. 7:32What is an API Application?
  5. 9:33Why Rails?
  6. 12:06AP Sweetness
  7. 13:06Lets create chatty
  8. 13:38What this does
  9. 14:59Default Stack
  10. 15:35Action Controller::API
  11. 17:09What is Action Cable?
  12. 19:06Concepts
  13. 20:31Server Side
  14. 20:58Connections
  15. 22:30Channels
  16. 23:14Consumer Connection
  17. 25:15Tying them up together
  18. 25:34Streams
  19. 27:51Client Side Subscription
  20. 30:17Somethings to take care of
  21. 33:16A Simple Component
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.