4 1. Evolution of event-driven programming:
5 X Wait for a key press or line of text.
6 X Interrupts (hardware and software).
9 2. Types of events in modern applications:
14 X Anything that can spontaneously happen in the real world.
16 3. How to write a modern event-loop.
17 X kernel facilities (poll, select, etc.)
19 4. List of already-built event loops.
23 5. Event-driven programming in Perl
29 6. Special considerations
30 - Exceptions in event-driven code.
31 - SIGPIPE, EPIPE - might have more to do with long-lived processes rather than
32 just event-driven programming, but still something to watch out for...
39 8. Real-world uses for event-driven applications:
48 X What is event-driven programming?
49 - Reactor: event loop that can receive multiple types of events and
50 demultiplex them, delivering them to appropriate handlers.
52 - EDA (event-driven architecture)
53 - Benefits of Event-driven
56 - CGI - web server calls your program, and your program does its thing and
58 - filters - grep, less, sed, etc. Like a function, the program takes its input
59 and produces some output.
62 - first-class subroutines
64 - Can mix traditional architecture with event-driven (like docker that
65 provides both an http and command-line interface.