~/talk

Hotwire Cookbook: Common Uses, Essential Patterns & Best Practices

Talkat Rails World 2023 · 2023-10-05..10-06· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Practical Hotwire recipes show concrete patterns: use Turbo Frames for lazy-loading individual records and inline editing per-attribute frames (demo loads employee details on scroll and edits single fields in-place), use Turbo Streams for create/update/remove and infinite pagination (controller renders format.turbo_stream to prepend/replace/remove items), use Turbo Stream broadcasts (Action Cable) for live chat and visitor counts across two browser tabs, and combine drag‑and‑drop Kanban with SortableJS + RequestJS to persist order in the DB — all examples work in the live demos.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:22What is Turbo Drive
  3. 7:17Turbo Frames basics
  4. 10:06Searching and filtering
  5. 13:41In-line editing and models
  6. 15:50Advanced Turbo Frames
  7. 17:17Turbo Streams fundamentals
  8. 20:50Turbo Streams broadcast
  9. 24:03Stimulus for JavaScript
  10. 25:07Drag-and-drop with Stimulus
  11. 26:33Stimulus for data tables
  12. 27:15Importing external libraries
  13. 28:23Auto-hiding flash messages
  14. 29:07Debouncing search input
  15. 30:33Conclusion and resources
~/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.