~/talk

Passbolt's Bread and Butter

Talkat CakeFest 2024 · 2024-07-24..07-26· [php]
links:none on file
slides:none on file

Passbolt uses CakePHP for its API and shows concrete wins: dependency injection to swap filesystem adapters lets the Cloud and Community builds share controllers while injecting Google Cloud or local storage for fast tests; pagination changes that avoid a second COUNT plus disabling Entity hydration cut large queries by ~20–30%; switching to a vanilla DateTime type cuts ~40% on big responses; test setup uses fixture factories with a selectQuery mock and a “test s light” trait to speed and inspect DB-backed tests.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:23Dependency injection at Passbolt
  3. 9:16Using events in CakePHP
  4. 12:48Performance optimizations
  5. 20:38Test fixture factories
  6. 27:03Database testing improvements
  7. 30:58Conclusion and resources
~/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.