RailsConf 2020 CE - Encapsulating Views by Joel Hawksley

Опубликовано: 04 Май 2020
на канале: Confreaks
7,492
206

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.


Смотрите видео RailsConf 2020 CE - Encapsulating Views by Joel Hawksley онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Confreaks 04 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,492 раз и оно понравилось 206 людям.