RailsConf 2020 CE - Encapsulating Views by Joel Hawksley

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



Duration: 37:11
7,143 views
203


Encapsulating Views by Joel Hawksley

Unlike models and controllers, Rails views are not encapsulated. This makes them hard to reason about and difficult to test, leading us to use abstractions such as presenters and decorators. In this talk, we'll explore the inner workings of how Rails compiles and executes views today, the lessons we've learned building encapsulated views at GitHub over the past year, and how you can do the same with the support for 3rd-party component frameworks coming in Rails 6.1.

__________

Joel is a software engineer at GitHub. He works on the Design Systems team, leading the development of ViewComponent.




Other Videos By Confreaks


2020-05-04RailsConf 2020 CE - Building a Rails Controller From Scratch by Alex Kitchens
2020-05-04RailsConf 2020 CE - Inside Rails: The Lifecycle of a Response by Krystan HuffMenne
2020-05-04RailsConf 2020 CE - Fake It While You Make It by Kevin Murphy
2020-05-04RailsConf 2020 CE - Measure Twice, Cut Once by Alec Clarke
2020-05-04RailsConf 2020 CE - Communicating with Cops by Kyle d'Oliveira
2020-05-04RailsConf 2020 CE - Peeling Away the Layers of the Network Stack by Ufuk Kayserilioglu
2020-05-04RailsConf 2020 CE - Achieving Inclusivity Through Remote Work by Jameson Hampton
2020-05-04RailsConf 2020 CE - Inoculating Rails Auth Against Bug Bounty Hunters by Jason Meller
2020-05-04RailsConf 2020 CE - Keynote Interview with David Heinemeier Hansson
2020-05-04RailsConf 2020 CE - Deeper Understanding & Better Communication through Art by Anna Rankin
2020-05-04RailsConf 2020 CE - Encapsulating Views by Joel Hawksley
2020-05-04RailsConf 2020 CE - Building a Mentorship Program by Noel Rappin
2020-05-04RailsConf 2020 CE - The Circle Of Lifecycle Events by Nelson Wittwer
2020-05-04RailsConf 2020 CE - Mistakes Were Made by Jesse Spevack
2020-05-04RailsConf 2020 CE - Authorization in the GraphQL era by Nikolay Sverchkov
2020-05-04RailsConf 2020 CE - Monoliths Between Microservices by Vladimir Dementyev
2020-05-04RailsConf 2020 CE - Keynote: Technically, a Talk by Eileen Uchitelle
2020-05-04RailsConf 2020 CE - Advanced ActionText: Attaching any Model in rich text by Chris Oliver
2020-05-04RailsConf 2020 CE - Aaron Patterson's Variety Show!
2020-05-04RailsConf 2020 CE - Static Type Checking in Rails with Sorbet by Hung Harry Doan
2020-05-04RailsConf 2020 CE - Tidy First? by Kent Beck



Tags:
railsconf
railsconf2020ce