On Jun 27, 9:35 am, felipenasc <felipen...@gmail.com> wrote:
> You could take a look at gwt-platform (http://code.google.com/p/gwt-platform/
> ), a complete GWT MVP Framework.
> It does support a lot of features required by real applications (not
> Helloworld ones).
>
> Cheers
> Felipenasc
>
> On Jun 25, 3:16 am, drthink <drgenejo...@gmail.com> wrote:
>
>
>
> > Large scale application development and MVP :http://code.google.com/webtoolkit/articles/mvp-architecture.html
>
> > I have a question on how you would extend this design to incorporate
> > complex widgets. The MVP pattern is very clear on how the separation
> > between the Presenter and View take place. A presenter defines an
> > interface which a view implements so the presenter can ensure that the
> > agreed necessary methods are implemented.
>
> > In the contacts example supplied by the article the idea is very
> > simple. The views do not have any complex widgets to display. But I
> > would guess for many applications each View is a page within the
> > application which is made up of complex widgets. So my first question
> > is:
>
> > Q1: Do you apply a separation of presentation versus view model to the
> > widgets as well or just build regular UiBinder widgets?
>
> > In the AppController a presenter is called with this kind of syntax:
>
> > presenter = new ContactsPresenter(rpcService, eventBus, new
> > ContactsView());
>
> > Q2: In a view that houses child widgets would I implement the same
> > kind of initiation, assuming the answer to Q1 is for a V-P model in
> > widgets.?
>
> > Q3 : If so how do we pass the rpcService eventBus to the widget
> > presenters?
>
> > These questions may seem kind of muddled, and as you can probably tell
> > I am just getting to grips with this concept. I have a feeling that
> > the answer lies in converting the example application to a incorporate
> > GIN which makes the widgets modular and therefore a lot of the
> > questions above become somewhat redundant.
>
> > Any thoughts would be much appreciated.
>
> > Cheers
> > DrJ
--
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