~/talk

prooph/micro and FPP - less is more

Talkat PHPConf.Asia 2018 · 2018-09-27..09-28· [php, functional-programming]
slides:none on file

Prooph/micro plus FPP and the funky library replace the usual handlers, factories and DI so the mark-as-done flow becomes a single function that folds history, returns an array of domain events and uses an apply function to compute state, cutting roughly half the boilerplate. Built example: a todo aggregate, event store-backed write model, CQRS projections and generated immutable value objects. Achieved sub-millisecond responses with nginx + amphp/reactphp; event stores can reach terabytes so large files are stored externally with versioned paths.

AI-written summary · about

  1. 0:00Start
  2. 9:14OOP APPROACH
  3. 13:00FUNCTIONAL APPROACH
  4. 17:54SEE THE DIFFERENCE?
  5. 21:51STATS 32 lines of fpp code 483 lines of PHP code No need to write tons of tests
  6. 22:40WHAT'S NEXT?
~/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.