We normally think of PHP as executing instructions sequentially, but new technologies like Node.js are exciting because they break that paradigm.
These event-based techniques are arriving in PHP and deliver cool tricks:
- Run multiple blocks of code at once to speed up page loading
- Respond to events and inject information into running scripts
- Talk directly to the network or even become a socket service