Files
exercises-in-programming-style/16-bulletin-board
2019-08-12 14:38:16 -07:00
..
2019-08-12 14:38:16 -07:00
2019-08-12 14:38:16 -07:00

Style #15

Constraints:

  • Larger problem is decomposed into entities using some form of abstraction (objects, modules or similar)

  • The entities are never called on directly for actions

  • Existence of an infrastructure for publishing and subscribing to events, aka the bulletin board

  • Entities post event subscriptions (aka 'wanted') to the bulletin board and publish events (aka 'offered') to the bulletin board. the bulletin board does all the event management and distribution

Possible names:

  • Bulletin board
  • Publish-Subscribe