Monday, October 31, 2011

Re: Clarifying Understanding of Presenter Interface

On 31 October 2011 10:52, Ari <ari.brandeis.king@gmail.com> wrote:
> After reading Large scale application development and MVP, I'm a bit
> unclear on the Presenter interface and I'd appreciate help in
> clarifying my understanding. Specifically I'm unclear as to whether
> each Presenter is supposed to have it's own Presenter Interface or is
> there supposed to be a universal Presenter interface, which all
> Presenters then implement?

In general, you would have a separate presenter interface for each
view. Your views do different things after all so the presenters can't
all be the same.

You could have each presenter extend a parent interface but so far I
have not needed that. That doesn't mean there are no situations where
that might be useful.

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

No comments:

Post a Comment