MVP: One page with many views and presenters?

11 views
Skip to first unread message

hezjing

unread,
Oct 13, 2009, 7:07:12 AM10/13/09
to gwt
Hi

Until recently, I realised that I'm wrong to assume that one page is corresponding to one view and presenter.
Instead, a page can contains several views and presenters right?


--

Hez

pohl

unread,
Oct 13, 2009, 12:04:55 PM10/13/09
to Google Web Toolkit
Absolutely, there may be several disconnected components on a given
'page', each with its own presenter.

The AddressBook application used in Ray's presentation at Google I/O,
for example, probably has a ContactListPresenter for the ContactList,
and a ContactDetailPresenter for some ContactDetailView - all on the
same page.
Reply all
Reply to author
Forward
0 new messages