Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Rocky Mountain Ruby 2023 - Turbo Frames Explored... for Fun and Profit by Jon Sullivan The ‘new magic’ came at the end of 2020: ✨Hotwire⚡️: Stimulus, Turbo Streams, Strada, Turbo Drive, and Turbo Frames. Each extremely capable and powerful in its own right, but with a wide spread of functions and some overlaps, it can be tough to see what’s what. Let’s explore just one avenue: Turbo Frames. Let’s see what it can _really_ do.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "Turbo Frames Explored... for Fun and Profit" features Jon Sullivan at the Rocky Mountain Ruby 2023 event. The focus of the talk is on Turbo Frames, a part of the Hotwire framework that enhances Ruby on Rails applications by reducing the need for extensive JavaScript. Jon begins by introducing his background and his enthusiasm for Turbo, explaining that the Hotwire framework, released at the end of 2020, consists of various parts including Turbo, Stimulus, and Strada—each serving distinct functions. He emphasizes that Turbo Frames are designed to handle sub-resource interactions efficiently, streamlining web development tasks. Key points discussed include: - **Turbo Overview**: Turbo Frames are positioned as a layer that simplifies page interactions through efficient navigation and data handling without full-page reloads. - **Ease of Implementation**: Jon illustrates that using Turbo Frames typically requires much less code than writing equivalent JavaScript solutions, often needing only a few lines of Ruby. - **Examples of Use Cases**: - *Pagination*: Turbo Frames can handle pagination effortlessly with minimal code. - *Lazy Loading*: He describes two types: eager and lazy lazy loading, demonstrating how to implement these features without complex JavaScript. - *Job Feedback*: A pattern for providing user feedback during long-running jobs without blocking the main thread is introduced. - *Modals*: Jon showcases how Turbo Frames can be used to manage modals with little overhead, enhancing user experience. - *Wizards for Multi-Step Forms*: The method is shown to keep the user journey fluid and seamless, making it easier to manage state through different steps of a task. Jon concludes with a practical framework for understanding Hotwire's components, reiterating that Turbo Frames can greatly reduce both the code and complexity often associated with JavaScript-based approaches. He advocates for the adoption of Turbo Frames, citing their efficiency and ease. Overall, the session emphasizes how Turbo Frames can facilitate rapid development in Ruby on Rails with less reliance on extensive JavaScript, improving both the developer experience and the end-user experience.
Suggest modifications
Cancel