~/talk

Views, from the top

Talkat RubyConf AU 2019 · on Friday, 2019-02-08· [ruby]

Proposes a concrete view system built as a Ruby gem used in production at Icelab; it adds explicit exposures, automatic parts decoration, scopes for partials and a shared context; templates still use Slim; views are objects with injected dependencies, immutable, and unit-testable; the implementation is about 900 lines of Ruby; the claim is six focused facilities replace helpers and clutter and they work on real projects and integrate with dry-rb and Hanami.

AI-written summary · about

  1. 0:00Start
  2. 2:49Server-rendered views
  3. 3:00Things are out of hand
  4. 5:54It's too hard to write good view code
  5. 6:13Let's build a better view system
  6. 17:22Template & partials - markup
  7. 17:51Views are complex
  8. 18:13Minimum viable views
  9. 18:28Making the easy thing
  10. 19:20Separation of concerns Encapsulation Immutability
  11. 19:35Encapsulation Immutability Testability
  12. 20:10Better OOP = Better views
  13. 20:25Better OOP = Joyful views
  14. 20:53Better apps Better Ruby
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.