onehilltech/blueprint

Messaging service module

hilljh82 opened this issue · 0 comments

The goal of this is to integrate into Blueprint.js a messaging module. The messaging module allows Blueprint.js framework and controllers to send messages that correspond to different events. The web application can then register for these events. The objects that register for the events will be called listeners.

The listeners will reside in:

/app/listeners

The way we will register the listeners is based on directory naming. The name of the directory in the listeners directory will be the event of interest. For example, the directory

/app/listeners/app.init 

corresponds to the app.init event.

Each JavaScript file in the event directory will contain a single listener that is to be registered with the messaging service.