~/talk

Ports and Adapters

Talkat JDD 2020 Online · on Thursday, 2020-06-04· [software-architecture]
links:none on file
slides:none on file

Architecture makes the domain the sole dependency-free core and defines primary/secondary ports as the boundary and primary/secondary adapters as thin converters with no business logic. Example: a task domain exposes AddTask -> TaskId, requires UserRepository.exists and TaskRepository.save, and publishes events via EventPublisher. Transactions live in the primary adapter and propagate to secondary adapters. Benefit: unit-testable domain, quick swap of databases (one migration done day-to-day), downside: extra interfaces, cognitive overhead and runtime translation cost.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:15Traditional layered architecture
  3. 3:04Problems with traditional architecture
  4. 6:18Ports and Adapters solution
  5. 7:21Ports and Adapters explained
  6. 14:08Advantages of the approach
  7. 19:49Disadvantages and challenges
  8. 25:52When to use this architecture
  9. 26:12Implementation tips
  10. 31:16Real-world example
  11. 34:45Multiple domains interaction
  12. 37:15Legacy system integration
  13. 40:04Advanced patterns
  14. 43:14Related architectures
  15. 44:17Summary and Q&A
~/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.