~/talk

Leveraging Events

slides:none on file

Explains how concrete pub/sub is implemented in Laravel with event classes that hold data and plain PHP listener classes with handle methods, registered in an Laravel event service provider array or subscriber and matched by name or wildcard, noting 50–60 native events the framework emits. Demo at leveragingevents.com creates fake users, runs a vote quiz and a GDPR gate where a listener returns false to stop propagation (works only synchronously). Queued listeners implement ShouldQueue, failures raise retry/failed events, and outbound tasks post to Thermostat IO while broadcasting over sockets to a Vue front end updating charts in real time.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06What are Events
  3. 5:00Defining Events
  4. 10:00Leveraging Events
  5. 14:45Handling GDPR
  6. 17:12Handling errors
  7. 18:25Dynamic frontend
  8. 20:13Cue listeners
  9. 22:10Summary
  10. 23:05Laravel
  11. 23:44Questions
~/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.