WebFund 2014W Lecture 18

From Soma-notes
Jump to navigation Jump to search

invoke versus call

  • SAME THING


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
  • type of event-driven programming
    • event dispatcher is implicit