Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A central event emitter is common practice in client software. It is also known as the event aggregator pattern. A nice description by Martin Fowler[1]

[1] http://martinfowler.com/eaaDev/EventAggregator.html



Check out this post of an event aggregation implementation in Backbone:

http://devlicio.us/blogs/mike_nichols/archive/2011/08/14/bac...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: