The Rails Changelog

024: Structuring Rails Apps with Matt Swanson

Jun 27, 2024
Matt Swanson discusses his podcast Yagny FM, open source contributions in Rails, Hotwire misconceptions, using feature flags for maintainability, balancing simplicity with complexity, and considerations for job processors in Rails applications. He also mentions his experience with background jobs and potential move to Solid Queue. Additionally, he touches on the benefits of using ViewComponent for front-end development and working at Arrows, a B2B SaaS company.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Yagni FM and Seasonal Releases

  • Matt Swanson created Yagni FM to facilitate long-form discussions about software practices.
  • He intentionally releases episodes in seasons to manage his energy and avoid burnout.
ADVICE

Prioritize Turbo Drive in Hotwire

  • Start with Turbo Drive for most Hotwire applications, as it provides the majority of benefits.
  • Layer on Turbo Frames and Streams only when necessary, prioritizing progressive enhancement.
INSIGHT

Different Types of Feature Flags

  • Feature flags can be short-lived (for deployments) or long-lived (account enablement).
  • Choose simple conditionals for short-lived flags and management tools for long-lived ones.
Get the Snipd Podcast app to discover more snips from this episode
Get the app