prooph/micro and FPP - less is more
summary
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
chapters (6)
- 0:00Start
- 9:14OOP APPROACH
- 13:00FUNCTIONAL APPROACH
- 17:54SEE THE DIFFERENCE?
- 21:51STATS 32 lines of fpp code 483 lines of PHP code No need to write tons of tests
- 22:40WHAT'S NEXT?
related talks
40mDDD, CQRS, Hexagonal, Onion,... Putting it together
44mBuilding event-driven microservices with Scala and Functional Domain Models
37mLet's Program Like It's 1999
02h 53mPractical design patterns in PHP (Part 3)
29mPanel Discussion
34mLevel up with a Microservices architecture
40mFrameworkless – The New Black?
50mImproving Application Performance with ReactPHP
