gwt-mvp

MVP: Should the View implement a Presenter's interface or vice versa?

为君一笑 提交于 2019-11-27 13:16:07
问题 I am doing my first steps with GWT . I have a question after reading: Large scale application development and MVP Large scale application development and MVP - Part II In the first example the Presenter defines the interface for the View . public class ContactsPresenter implements Presenter { ... public interface Display extends HasValue<List<String>> { HasClickHandlers getAddButton(); HasClickHandlers getDeleteButton(); HasClickHandlers getList(); void setData(List<String> data); int

What is your favorite GWT MVP Framework? [closed]

丶灬走出姿态 提交于 2019-11-27 13:02:47
问题 What is your favorite GWT MVP Framework, and the reason behind your choice? Mvp4g GWTP GWT 2.1 Built in gwt-mpv gwt-pectin guit Other platform (please provide link) Own solution (with boilerplate code?) None Thanks. Updated : Added suggestions 3, 4, 5 to the list. Updated 2 : Added guit to the list. 回答1: I think the best technique of MVP for GWT is to have the following classes Model View Presenter And make the view and the presenter interacts through a defined interface and have the