RailsConf 2021: All you need to know to build Dynamic Forms (JS FREE) - Santiago Bartesaghi

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=6WlFjFOuYGM



Duration: 32:59
74 views
2


Working with forms is pretty common in web apps, but this time my team was requested to give support for dynamic forms created by admins in an admin panel and used in several places (real story). There are many ways to implement it, but our goal was to build it in a way that felt natural in Rails.

This talk is for you if you’d like to learn how we used the ActiveModel's API together with the Form Objects pattern to support our dynamic forms feature, and the cherry on top is the usage of Hotwire to accomplish some more advanced features. And all of this is done without a single line of JS :)




Other Videos By Confreaks


2022-09-28RailsConf 2021: Turning DevOps Inside-Out - Darren Broemmer
2022-09-28RailsConf 2021: Talmudic Gems For Rails Developers - Yechiel Kalmenson
2022-09-28RailsConf 2021: What the fork()? - Will Jordan
2022-09-28RailsConf 2021: Frontendless Rails frontend - Vladimir Dementyev
2022-09-28RailsConf 2021: The Cost of Data - Vaidehi Joshi
2022-09-28RailsConf 2021: The Curious Case of the Bad Clone - Ufuk Kayserilioglu
2022-09-28RailsConf 2021: What is Developer Empathy? - Tim Tyrrell
2022-09-28RailsConf 2021: Scaling Rails API to Write-Heavy Traffic - Takumasa Ochi
2022-09-28RailsConf 2021: Growing Software From Seed - Sweta Sanghavi
2022-09-28RailsConf 2021: How To Get A Project Unstuck - Sumana Harihareswara
2022-09-28RailsConf 2021: All you need to know to build Dynamic Forms (JS FREE) - Santiago Bartesaghi
2022-09-28RailsConf 2021: You Are Your Own Worst Critic - Ryan Brushett
2022-09-28RailsConf 2021: Accessibility is a Requirement - Ryan Boone
2022-09-28RailsConf 2021: Missing Guide to Service Objects in Rails - Riaz Virani
2022-09-28RailsConf 2021: New dev, old codebase: A series of mentorship stories - Ramón Huidobro
2022-09-28RailsConf 2021: How to be a great developer without being a great coder - Nicole Carpenter
2022-09-28RailsConf 2021: Can I break this?: Writing resilient “save” methods - Nathan Griffith
2022-09-28RailsConf 2021: A Third Way For Open-Source Maintenance - Nate Berkopec
2022-09-28RailsConf 2021: How Reference Librarians Can Help Us Help Each Other - Mike Calhoun
2022-09-28RailsConf 2021: Writing design docs for wide audiences - Michele Titolo
2022-09-28RailsConf 2021: Rescue Mission Accomplished - Mercedes Bernard



Tags:
Rails
RailsConf
RubyonRails
RubyCentral