Wednesday, April 29, 2015

Events vs Hooks

Events vs Hooks
[http://programmers.stackexchange.com/questions/237876/what-should-plugins-use-hooks-events-or-something-else]
Hooks loose coupling, event - tight coupling.
Hooks: generic api for all hooks

Hooking - In computer programming, the term hooking covers a range of techniques used to alter or augment the behavior of an operating system, of applications, or of other software components by intercepting function calls or messages or events passed between software components. Code that handles such intercepted function calls, events or messages is called a "hook".

No comments:

Post a Comment