>
> Thanks for your comments. Do you mind sharing with us what would go in

the Presenter interface to allow you to "fully use" MVP? We're very

much open to ideas from the community as to how to make it work

better.


Well, in my opinion, it would be clearer to create 2 new interfaces :
1) a "Presenter" interface that contains
- start(ForIsWidget container)
- onStop()

then, Activity interface could extends Presenter and add mayStop()...

It would clarify that we can insert nested presenter into activity without
adding activity into activity since it is not really the same concept in my
opinion.

2) Then, create an interface called "View<T extends Presenter>" that
contains
- setPresenter(T presenter)

they could be implemented by Composite or UiObject.

Maybe that it sounds a bit unecessary to you, but I think that it would
clarify things between Activities and Presenter/View just with those 2 new
interfaces.

 Activities are more tied to the concept of Places than of MVP, i.e.

navigation and user experience rather than code structure ("developer

experience"). Does that make things clearer?


Yes, it is clearer. Thanks Thomas.

Thanks for all your great work on GWT.

Nicolas.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to