~/talk

Architecture of hanami applications

slides:none on file

Argues that long‑term maintenance comes from isolating business logic into small functional objects and separate Hanami applications, using dry-container and dry-auto_inject to avoid global state and speed testing, and using dry-system dependency booting to initialize/close shared resources. Recommends repositories and change sets for complex persistence, shows a working setup at a company using ROM and multiple Hanami apps, and outlines an event log + consumers pattern (Kafka or event store, Hanami‑event POC) for scalable state projection.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 2:36Why this talk exists
  3. 3:45What is good architecture
  4. 5:32Real Rails problems
  5. 6:59Functional objects in Hanami
  6. 9:06Dependency injection benefits
  7. 11:14Containers and dry-container
  8. 12:47Dry auto-inject explained
  9. 13:32Models and repositories
  10. 15:43Multiple Rails apps problem
  11. 17:10Hanami applications structure
  12. 18:41Advanced architecture with dry-system
  13. 20:47Introduction to DDD
  14. 22:14Domains in Hanami projects
  15. 23:39Event-driven architecture
  16. 24:23What is event sourcing
  17. 27:56Event sourcing pros and cons
  18. 29:00Conclusions and key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.