Accoring to the MVP pattern the view should contain all the UI components. Then i read about the new UiHandler introduced in the GWT 2.0. The UiHandler can be used only in the view.
Should we use UiHandler in the mvp pattern, if so where should we use it.
NOTE: i am a GWT n00b.
Using gwt-presenter
, I can perfectly merge UiBinder with MVP. EventHandlers
are perfectly dividable in those that handle view events (entering a textbox clicks a submit button) and those that have their place in the presenters (handle service responses etc.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With