WebFund 2014W Lecture 18: Difference between revisions

From Soma-notes
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..."
(No difference)

Revision as of 17:21, 19 March 2014

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