~/talk

Functional Architecture for the Practical Rubyist

Talkat RedDotRubyConf 2017 · 2017-06-22..06-23· [functional-programming, ruby]
slides:none on file

Argues for modeling behavior as small functional objects (objects named by a verb with a call method) and state as immutable value objects, wired together with dependency injection via dry-system and companion gems (dry-rb, dry-validation, dry-types). Shows concrete examples: an ImportProducts pipeline that downloads a feed, maps to repository writes, and is easy to mock in tests. Claims improved SOLID compliance, a dependency graph that becomes a directed acyclic graph, and reports Icelab shipped 10+ apps in two years using this approach successfully.

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.