~/talk

Practical design patterns in PHP (Part 3)

Talkat Web Summer Camp 2018 · 2018-08-29..09-01· [design-collaboration, php]
links:none on file
slides:none on file

Builds a working PHP event‑sourcing prototype: aggregates (invoice, shopping cart) record recorded domain events as mementos, events serialize to JSON and sit in either a file-system and in-memory stores (tests pass). Implements repository + simple event bus, replays event streams to reconstitute aggregate state, and refactors persistence into a storage strategy via Composer utilities (class-function). Notes it takes about half a day to prototype, warns it’s experimental and not yet production‑ready.

AI-written summary · about

  1. 0:00Introduction to behavioral patterns
  2. 1:20Memento pattern explained
  3. 22:31Event sourcing with Memento
  4. 1:00:16Implementing event store
  5. 1:30:49State pattern for workflows
  6. 1:45:20Strategy pattern fundamentals
  7. 2:05:26Refactoring with Strategy
  8. 2:15:18Template method design
  9. 2:30:30Visitor pattern in PHP
  10. 2:45:58When to use Visitor pattern
  11. 2:50:07Summary and Q&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.