~/talk

Getting started with ReactPHP – Pushing Real-Time Data to the Browser

Talkat International PHP Conference Spring 2019 · 2019-06-03..06-07· [php, nodejs]
slides:none on file

Builds a working TCP chat server and a single-file HTTP server that streams Server-Sent Events to the browser, all in pure PHP no extensions. Uses ReactPHP core pieces: event loop, streams, sockets, promises and timers to push real-time JSON/text. Live demos show an EventSource client receiving chat messages and a concurrent HTTP client that issues three requests in roughly the same time as one (measured ~0.13s per request ≈ 8 req/s). Project is production-ready for 6+ years with ~150 projects and 300+ packages.

AI-written summary · about

  1. 0:00Start
  2. 6:05Node.js
  3. 8:53What is React?
  4. 9:22the idea
  5. 11:29This is React
  6. 11:50What React is not
~/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.