~/talk

Open Close Principle, is it what you thought?

Talkat phpDay 2019 · 2019-05-10..05-11· [php, developer-experience]
slides:none on file

Clear claim: the Open/Closed principle means changing behaviour without editing existing classes, proven with code. Concrete moves: switch from inheritance to composition, implement layering with Decorator and Observer patterns, wire services with Laravel/Symfony container bindings and decorator priority. The talk shows working examples: a base DataProvider left untouched, logging and caching added as decorators or event listeners, container config snippets, and a discussion of ordering, reuse and when each pattern scales.

AI-written summary · about

  1. 0:00Start
  2. 1:34SOLID Principles?
  3. 4:241988 - First approach
  4. 7:20Design patterns for extension
  5. 22:24Dispatch events from decorators
~/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.