WebFund 2014W Lecture 18: Difference between revisions
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 edit summary |
||
Line 1: | Line 1: | ||
==invoke versus call== | |||
* SAME THING | |||
==Reactor pattern== | ==Reactor pattern== |
Revision as of 17:24, 19 March 2014
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