~/talk

Turbo Frames Explored... for Fun and Profit

Talkat Rocky Mountain Ruby 2023 · 2023-10-05..10-06· [ruby-on-rails, ruby]
links:none on file
slides:none on file

Turbo Frames powers pagination, lazy-loading, modals, multi-step wizards and even a polling “job pinger” pattern using Hotwire/Turbo + Stimulus on Rails 7 — running in production at Agent Pronto. Examples include server-rendered pagination that takes two lines of Ruby, eager and viewport-triggered image/HTML loads (including a slow 300‑digit π endpoint) as eager vs lazy lazy loading, a modal system that works as modals without JavaScript, and history‑advancing wizards; overall it cuts front‑end code and works reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 1:19Hotwire and Turbo Frames
  3. 3:04Turbo Drive and Frames
  4. 6:52Pagination with Turbo Frames
  5. 8:35How Turbo Frames work
  6. 13:31Four Turbo Frames use cases
  7. 13:52Lazy loading with Turbo Frames
  8. 17:17Lazy loading beyond images
  9. 18:23Job pingers with Turbo Frames
  10. 20:09Modals without JavaScript
  11. 23:39Multi-step forms with Turbo Frames
  12. 27:34Hotwire and Stimulus
  13. 30:18Closing
  14. 30:39Q&A: Infinite scroll
  15. 31:01Q&A: Nested Frames and performance
  16. 31:22Q&A: Drag and drop
  17. 31:42Q&A: Unsuitable use cases
  18. 32:04Q&A: Form state management
  19. 32:45Q&A: Browser history
  20. 33:28Q&A: Analytics and legacy JS
  21. 34:53Q&A: Stability and Rails upgrades
  22. 35:57Q&A: Testing Turbo Frames
  23. 36:39Q&A: Converting to Stimulus
~/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.