WebFund 2014W Lecture 18

From Soma-notes
Revision as of 13:21, 19 March 2014 by Soma (talk | contribs) (Created page with " ==Reactor pattern== * direct contrast to a procedural pattern * procedural: everything is synchronous ** each line completes before the next executes * reactor pattern: mostl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Reactor pattern

  • direct contrast to a procedural pattern
  • procedural: everything is synchronous
    • each line completes before the next executes
  • reactor pattern: mostly synchronous
    • exception: event handlers
    • dispatcher calls event handlers