adamRenny / LayerJS

2D Canvas Library supporting Layered Rendering
MIT License
8 stars 1 forks source link

EventBus Decoupling #58

Closed adamRenny closed 11 years ago

adamRenny commented 11 years ago

After discussions with @loytomaki at work, it has been made quite clear that I've gone astray with using EventBus as the communication channel of LayerJS rather than going with my roots and using some derivative of the Observer pattern that didn't rely solely on strings.

I would like to move to removal of the EventBus for the API and instead implement some form of Dispatching/Observer pattern that uses more specific interfacing between observable and observer.

adamRenny commented 11 years ago

Pushed to #62.