HubTurbo / addressbook

A small app for training and experimentation
Other
1 stars 3 forks source link

Organize existing events #344 #545

Closed m133225 closed 8 years ago

m133225 commented 8 years ago

Fixes #344

damithc commented 8 years ago

We are categorizing events based on their origin? In that case, why not move events to packages that raise them? What if there is an event that can be raised by multiple components?

m133225 commented 8 years ago

I think in general, maybe categorizing based on their origin would be sufficient. Cases where an event can be raised by multiple components likely implies that it is some sort of request to the handler e.g. SaveDataRequestEvent to StorageManager, then these could be grouped by their handler(s) instead.