Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to event-based internal communication #81

Open
cletusc opened this issue Jul 16, 2015 · 1 comment
Open

Move to event-based internal communication #81

cletusc opened this issue Jul 16, 2015 · 1 comment

Comments

@cletusc
Copy link
Owner

cletusc commented Jul 16, 2015

Modules need to communicate, but don't need to be spaghetti. Having everything all so tightly intertwined isn't good at all and defeats the purpose of modules.

Move to emitting events on subscribing to events to handle communication between modules. I will likely use https://www.npmjs.com/package/eventemitter3 for this.

@cletusc
Copy link
Owner Author

cletusc commented Jul 28, 2015

Event planning is going to be here for the time being: https://docs.google.com/spreadsheets/d/1ryMT8TJa11hK72PLaimwBxT8u7pP-oEXFyvsbsYez6I/edit?usp=sharing

I started the basics of the code, but got a bit lost without something showing me which events I've already done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant