~/talk

Overly Attached ORM

TalkinPolishat 4Developers 2015 · on Monday, 2015-04-20· [databases, software-architecture]
links:none on file
slides:none on file

Explains reducing coupling to Doctrine in a Symfony2 app by making repositories and entity interfaces and turning concrete repository classes into separate bridge bundles. Describes a custom bridge entity manager that routes persist/flush to the appropriate backend so a Doctrine bundle can be swapped for an Instagram API bundle without changing business logic, enabling transparent data-source replacement and easier testing by switching bridges during builds.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Project context and assumptions
  3. 2:52Slow database queries problem
  4. 6:27Rewriting repositories as services
  5. 9:48Using interfaces in code
  6. 14:32Bridge pattern introduction
  7. 18:55Data persistence and flushing
  8. 21:50Testing repositories and bridges
  9. 24:25Changing data sources in tests
  10. 26:57Summary and conclusions
~/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.