~/talk

How much database abstraction do I need?

Talkat PHP UK Conference 2024 · 2024-02-15..02-16· [databases, php]
slides:none on file

Explains concrete tradeoffs: uses Doctrine ORM for type-safe CRUD and rapid forms, falls back to DBAL or native C extensions when performance or features demand it, demonstrates the N+1 query trap and a streaming import fix (flush+clear every 100 rows) that avoids terabyte memory spikes, shows schema diffs driving Doctrine Migrations, and lists removed items in DBAL4/ORM3 plus practical migration tools like Rector.

AI-written summary · about

  1. 0:00Database abstraction intro
  2. 1:59Speaker background
  3. 7:23Doctrine ORM and DBAL
  4. 11:57Doctrine ORM benefits
  5. 16:36Doctrine ORM pitfalls
  6. 23:05When ORM hinders
  7. 27:28Doctrine DBAL direct SQL
  8. 33:36Doctrine DBAL deep dive
  9. 42:54DBAL middleware layer
  10. 48:12PDO and extensions
  11. 49:16ORM vs DBAL choice
  12. 50:00Doctrine DBAL 4 changes
  13. 53:37Doctrine ORM 3 changes
  14. 56:01Q&A
~/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.