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

Events through 3 ways #164

Open
jonasdacruz opened this issue Jan 20, 2014 · 0 comments
Open

Events through 3 ways #164

jonasdacruz opened this issue Jan 20, 2014 · 0 comments

Comments

@jonasdacruz
Copy link

I think that we have to separate Event concept in 3 different ways.

1- Global or App.
2- Data, HTTP or Network.
3- User interaction.

So, my proposal would be to follow using current iris.on, iris.off, iris.notify as App Events.

Create events about Network traffic within Resource components and in the other hand add new methods in UI and Screen components, being these the User interaction events.

We would add a new collection of methods such as self.on, self.off, self.notify, doing each one just reachable in their context.

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

No branches or pull requests

1 participant