event publish/subscribe

22 views
Skip to first unread message

steve christensen

unread,
Feb 7, 2015, 3:07:36 AM2/7/15
to gwi...@googlegroups.com
While reading up on Guava's EventBus (and Onami's Guice integration for it), I stumbled on EventCast (https://github.com/lexicalscope/eventcast/wiki)

posted pull request here: https://github.com/gwizard/gwizard/pull/7

Jeff Schnitzer

unread,
Feb 7, 2015, 12:38:54 PM2/7/15
to gwi...@googlegroups.com
I have some misgivings about including this. Generally, I think GWizard should express an opinion (like which eventbus to use) when either 1) the thing is difficult/laborious/annoying to set up and/or 2) gwizard itself needs to leverage the thing. At the moment, the eventbus doesn't seem to qualify for either - and there are plenty of differing opinions on this kind of thing.

Maybe in the future it would make sense to add an event bus, but it seems like (for the moment) it doesn't really benefit users much to add this module. Feels like it just saves a couple lines of code.

Jeff

On Sat, Feb 7, 2015 at 12:07 AM, steve christensen <steve...@gmail.com> wrote:
While reading up on Guava's EventBus (and Onami's Guice integration for it), I stumbled on EventCast (https://github.com/lexicalscope/eventcast/wiki)

posted pull request here: https://github.com/gwizard/gwizard/pull/7

--
You received this message because you are subscribed to the Google Groups "GWizard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gwizard+u...@googlegroups.com.
To post to this group, send email to gwi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gwizard/b844ad2b-278d-4f16-af72-676b150967f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

steve christensen

unread,
Feb 7, 2015, 7:27:51 PM2/7/15
to gwi...@googlegroups.com, je...@infohazard.org
Yeah, I had similar thoughts after seeing how little code I'd added. As you said, there's not really any 'events' currently in the framework. The only ones in gwizard proper are if you use the services module, but there's already a listening abstraction in place for that.

I have a use case for the application I'm developing, but... it's more specific to my application's design, rather than needing to be pushed down into the infrastructure I build it on.
Reply all
Reply to author
Forward
0 new messages