Tuesday, January 5, 2016

Re: Using MVP with GWT2.7

I get what you say, and agree that its not a very good approach.
But my concern is, For a huge application having around 200 events . Will I have to write 200 Event handlers, 200 Event Classes and Event types ?

There is https://github.com/google/gwteventbinder which avoids defining handlers by using annotations. Then there is https://github.com/ekuefler/gwt-supereventbus which pretty much works the same as Guava's EventBus in terms of event types and listening for events. It also has some other interesting features and provides an adapter so you can use SuperEventBus together with GWT classes that require GWT's EventBus.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment