~/talk

Generators and Asynchronous Programming: How-To

TalkinFrenchat Forum PHP 2018 · 2018-10-25..10-26· [concurrency]
links:none on file
slides:none on file

Explains how to use PHP generators to write asynchronous-style code without callbacks; shows the problem of managing asynchronous operations and demonstrates using generator-based control flow to simplify async programming. Covers practical techniques and examples in PHP for implementing non-blocking workflows with generators.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04PHP async programming
  3. 3:14Tea for two example
  4. 8:29Event loop pattern
  5. 12:39PHP generators basics
  6. 17:55Generators for async
  7. 22:53Promises and callbacks
  8. 26:29Async: generators vs callbacks
  9. 28:38When to use async in PHP
  10. 30:46Choosing event loop
  11. 31:48Tornado demo
  12. 36:04Misconceptions
  13. 37:07Pitfalls and next steps
  14. 38:03Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.