Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:02:00+00:00 2026-06-18T16:02:00+00:00

I am creating an MVP-like application in GWT. There are multiple panels, and each

  • 0

I am creating an MVP-like application in GWT.

  • There are multiple panels, and each one is visible at all times.
  • Each panel has a Presenter, and there is a single AppController which sits above all Presenters.
  • There are some application-level events which arise within one Presenter but have implications for other Presenters.
  • The suggested architecture for this seems to involve an Event Bus. However, I’m not sure I see the advantage over something simpler.
  • In particular, wouldn’t it be cleaner to simply allow the AppController (and only the AppController) to subscribe to events from any Presenter? The AppController can then tell each Presenter what to do, given the event.
  • The “Event Bus” seems like a quasi-global variable. But if you can accomplish the same thing with more precisely defined methods (i.e. the methods which AppController calls on each Presenter) isn’t that preferable?

To put my concern more precisely: why introduce an Event Bus at all, rather than simply letting events “bubble up” to the appropriate decision-making level? To me this seems like the most straightforward extension of the MVP concept, and it doesn’t require the new idea of an Event Bus. I don’t understand what problem the Event Bus was introduced to solve.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:02:01+00:00Added an answer on June 18, 2026 at 4:02 pm

    The advantage of the eventbus is separation of the code.

    You can just fire custom events to the bus and don’t need to care about your event anymore.
    Every presenter subscribes only to that events, which it really needs to know. This will lead into cleaner code because, you don’t have to create a dispatcher which has to know all presenter to delegate events to them.

    In my opinion, the eventbus is a really good thing, to make the code clean and easily understandable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

creating a small web application to be deployed on Heroku, where we would like
I'm new to MVC / MVP and learning it by creating a Winform application.
I am creating an ASP.NET Web forms application with MVP pattern. The structure of
I intend to build application with Winform and I would like to use MVP
i'm creating a shopping website that will sell computer parts using MVP and asp.net.
I would like to use a Sqlite datbase in an iphone application. The example
I'm learning to apply MVP to a simple WinForms app (only one form) in
I am facing a problem of cyclic dependency when creating the following MVP design
Creating header guards for my h/hpp files has always been standard practice for me,
Creating a browser based single-page browser based RIA. Would like to make use of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.