~/talk

I saw the future, and its web servers were written in PHP

Talkat PHP UK Conference 2017 · 2017-02-16..02-17· [web-platform, php]
speakerdeck:dzuelke
slides:none on file

Covers how PHP can move beyond CGI-style request/response by using PHP-based web servers and event-driven components such as ReactPHP, Icicle, Aerys and PHP-PM to keep frameworks (e.g. Symfony) running in a loop rather than restarting per request. Compares this approach to language-native servers like Jetty/Puma/Gunicorn, explains engine changes in PHP 7 (catchable fatal errors) that enable long-running PHP servers, and outlines performance gains and new capabilities (streaming request bodies, WebSocket upgrades) along with trade-offs required.

AI-written summary · about

  1. 0:00Start
  2. 6:21HOW CGI WORKS
  3. 8:46CGIVARIABLES (SEE $_SERVER)
  4. 12:13PHP WEB SAPI (SIMPLIFIED)
  5. 15:21PHP CGI EXECUTION LIFECYCLE (SIMPLIFIED)
  6. 19:18mod php EXECUTION LIFECYCLE (SIMPLIFIED)
  7. 21:02APACHE PROCESS MODELS
  8. 33:16RUBY/RACK
  9. 38:39THE RACK/WSGI STACKS
  10. 40:44PHP IS NOW READY
  11. 44:35FRAMEWORKS FOR EVENT- DRIVEN NON-BLOCKING I/O
  12. 45:47IT'S ALL A REACTOR
  13. 47:37SIMPLE WEB SERVER, ReactPHP
~/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.