~/talk

Keep it Simple: Moving from Webapp to Enterprise

Talkat PyBay 2021 · on Saturday, 2021-10-09· [python, software-architecture]
links:none on file
slides:none on file

Argues that enterprise growth needs dependency inversion so domain code stays plain Python and independent of databases and Stripe, showing an Airbnb-style booking manager that starts with a Stripe concrete then moves to an interface used by constructor-based dependency injection and polymorphic payment adapters; advocates typing and frozen dataclasses as value objects, aggregate roots + repository pattern for persistence, and DTOs between layers; demonstrates faster, less-mock unit tests and claims this approach prevents later full rewrites while keeping Django/Flask codebases maintainable.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:47Problem of growing complexity
  3. 3:12Layered architecture pitfalls
  4. 5:41Dependency inversion basics
  5. 8:30Hexagonal architecture explained
  6. 9:58Domain-driven design layers
  7. 12:08Rich vs anemic domain models
  8. 14:57Repository pattern and DTOs
  9. 15:39Testing best practices
  10. 16:42Summary and closing
~/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.