~/talk

Functional Architecture for the Practical Rubyist

Talkat Red Dot Ruby Conference 2017 · 2017-06-22..06-23· [ruby]
slides:none on file

Argues that modeling behavior as small functional objects (a single call method) and data as immutable value objects yields code that satisfies SOLID, eases testing with dependency injection and mocks, and produces a directed acyclic dependency graph. Shows an import_products example wired to download_feed and products_repository, tests it with doubles, and uses dry-system plus dry-types/validation for wiring and types. Reports building 10+ apps over two years with this architecture and finds it works well.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Functional architecture shift
  3. 3:46Functional objects
  4. 7:28Handling data with types
  5. 9:18SOLID principles and design
  6. 15:17Testing and dependency graph
  7. 18:25Emergent modular architecture
  8. 20:57Tooling and dependency injection
  9. 24:21Conclusion and summary
  10. 26:28Q&A session
~/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.