~/talk

An Introduction to Asynchronous PHP using ReactPHP

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [php, nodejs]
slides:none on file

ReactPHP is shown end-to-end: the event loop, streams, promises, sockets and an HTTP server that actually runs on PHP. Examples include powering Laravel WebSockets and the open-source Expose (an Ngrok replacement), a telnet chat and a tiny HTTP counter that works in about 21 lines of PHP. A production deploy runs on a small DigitalOcean droplet; code samples show non-blocking IO, piping, periodic timers, and how to build servers that accept many connections without new threads.

AI-written summary · about

  1. 0:00Start
  2. 1:42Demo Expose
  3. 5:45Event Loop
  4. 14:24Promises
  5. 20:11Sockets
~/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.