I've used the method here (http://www.amateurinmotion.com/articles/
2009/11/02/async-with-gin.html) to handle services.
It is a mixture of 1 and 2, you inject the services into the presenter
(Is it is Guice best practice to inject what you need instead of
injecting the service registry), but you
I'm using a different approach, below a draft source code of my
AppController class. What do you think?
public class AppController implements ValueChangeHandlerString {
private final MapString, PresenterType urls;
private final MapPresenterType, Provider? extends Presenter presenters;
@Inject
Hi Eduardo:
Comments inline.
On 01/20/2010 09:34 AM, Eduardo Nunes wrote:
I'm using a different approach, below a draft source code of my
AppController class. What do you think?
public class AppController implements ValueChangeHandlerString {
private final MapString, PresenterType urls;
Comments inline.
On Wed, Jan 20, 2010 at 2:46 PM, Jeff Chimene jchim...@gmail.com wrote:
Hi Eduardo:
Comments inline.
On 01/20/2010 09:34 AM, Eduardo Nunes wrote:
I'm using a different approach, below a draft source code of my
AppController class. What do you think?
public class
Comments inline.
On 01/20/2010 10:06 AM, Eduardo Nunes wrote:
Comments inline.
On Wed, Jan 20, 2010 at 2:46 PM, Jeff Chimene jchim...@gmail.com
mailto:jchim...@gmail.com wrote:
Hi Eduardo:
Comments inline.
On 01/20/2010 09:34 AM, Eduardo Nunes wrote:
I'm using a
Comments inline.
On Wed, Jan 20, 2010 at 3:54 PM, Jeff Chimene jchim...@gmail.com wrote:
Comments inline.
On 01/20/2010 10:06 AM, Eduardo Nunes wrote:
Comments inline.
On Wed, Jan 20, 2010 at 2:46 PM, Jeff Chimene jchim...@gmail.com
mailto:jchim...@gmail.com wrote:
Hi Eduardo:
Comments inline.
On 01/20/2010 11:10 AM, Eduardo Nunes wrote:
Comments inline.
On Wed, Jan 20, 2010 at 3:54 PM, Jeff Chimene jchim...@gmail.com
mailto:jchim...@gmail.com wrote:
Comments inline.
On 01/20/2010 10:06 AM, Eduardo Nunes wrote:
Comments inline.
On
Comments inline.
On Wed, Jan 20, 2010 at 4:38 PM, Jeff Chimene jchim...@gmail.com wrote:
Comments inline.
On 01/20/2010 11:10 AM, Eduardo Nunes wrote:
Comments inline.
On Wed, Jan 20, 2010 at 3:54 PM, Jeff Chimene jchim...@gmail.com
mailto:jchim...@gmail.com wrote:
Comments
So, in the case where you might end up needing more than 1 service, it
seems from what I've read, there are 2 approaches out there:
1) Pass ALL services (via their interfaces) to the presenter. This can
also be done by injecting them.
2) Have a global service registry which initializes all the
Julien / Ojay:
I've been using gwt-dispatch (an implementation of the command pattern
described by Ray Ryan in his i/o 2009 talk) to achieve what you
describe. You can get the source for gwt-dispatch from
http://code.google.com/p/gwt-dispatch/.
Krishna
On Jan 17, 6:43 am, ojay
Hi,
i agree with Julien it would be interesting how his case would be
handled. Does somebody has an idea?
Hope somebody will response to this topic
On 10 Jan., 14:30, Juju funkybre...@gmail.com wrote:
Hello,
There is one thing that I don't understand very well. I'm building an
Hello,
There is one thing that I don't understand very well. I'm building an
application with multiple services (imagine something like
contactService, teamService, etc). Is there multiple AppController? In
your example, the AppController is link with one service (the
ContactService). It's a
Chris, or anyone else with experience on MVP in GWT...
Practically, do you always have 1 view as the user sees it, i.e., the
whole GUI, or if your GUI has many components (as most GUIs do), do
you have multiple views, and most importantly, multiple presenters,
presenting 1 coherent view to the
In my experience, the fewer components you have for a single view, the
easier it becomes to maintain code. With that being said, there are some
cases where it makes more sense to combine a large number of UI components
into a single view, but you certainly can have many views and many
presenters
Yaakov,
Having multiple presenters driving a single view would be a bit strange.
Typically want to the presenter to define the display interface that the
view will implement. Having multiple presenters drive a single view means
that either a) the display interface is defined in some parent
Hi Chris
Thanks for you input around the dividing of presenters and views in bigger
apps like Gmail.
Do you have any brief input on how runAsync and MVP play together?
/Flemming
On Sun, Jan 3, 2010 at 8:36 PM, Chris Ramsdale cramsd...@google.com wrote:
Yaakov,
Having multiple presenters
could you please post some code as example?
On Fri, Jan 1, 2010 at 5:59 PM, Thomas Broyer t.bro...@gmail.com wrote:
On Jan 1, 1:16 am, Daniel Simons daniel.simo...@gmail.com wrote:
I would be interested to know, for those that have studied the Hupa
Project,
and now the Contacts Project,
On Jan 1, 1:16 am, Daniel Simons daniel.simo...@gmail.com wrote:
I would be interested to know, for those that have studied the Hupa Project,
and now the Contacts Project, what do you think is the more appropriate way
of handling the Back/Forward browser button actions. Both methods seem to
On 01/01/2010 08:59 AM, Thomas Broyer wrote:
On Jan 1, 1:16 am, Daniel Simons daniel.simo...@gmail.com wrote:
I would be interested to know, for those that have studied the Hupa Project,
and now the Contacts Project, what do you think is the more appropriate way
of handling the Back/Forward
Chris,
It would be great if you could put up something that deals with UiBinder *in
context of* MVP. Specifically, whats the recommended way to use the
@UiHandler tag?
--Sri
2009/12/31 Chris Ramsdale cramsd...@google.com
While I see that someone has already found it, I just wanted to let
I would be interested to know, for those that have studied the Hupa Project,
and now the Contacts Project, what do you think is the more appropriate way
of handling the Back/Forward browser button actions. Both methods seem to
have there own flaws, for instance, as a project gets larger, the
Hi,
The code is almost in the tutorial, anyway I have completed the remaining
source code and uploaded to a google code project just for fun. This is
unofficial.
http://code.google.com/p/gwt-mvp-architecture-sample/
Regards.
Alejandro.
On Tue, Dec 29, 2009 at 3:00 PM, jpnet
Looks like the official sample project source has now been posted:
http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip
There's a link near the top of the article.
On Dec 30, 2:30 pm, Alejandro D. Garin aga...@gmail.com wrote:
Hi,
The code is almost in the tutorial,
cool ! thanks.
On Wed, Dec 30, 2009 at 4:32 PM, mbracken levi.brac...@gmail.com wrote:
Looks like the official sample project source has now been posted:
http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip
There's a link near the top of the article.
On Dec 30, 2:30
I really like this article:
http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html
However, it's almost useless without the entire source package. Are
there any plans to post the source code?
Thanks,
JP
--
You received this message because you are subscribed to the Google
+1
On 29 déc, 20:51, Yaakov yaakov.chai...@gmail.com wrote:
Yes, +1 here! Great article, but please post the source code.
Thanks,
Yaakov.
On Dec 29, 1:00 pm, jpnet jprichard...@gmail.com wrote:
I really like this
+1
On 29 Dec, 23:42, fvisticot fvisti...@gmail.com wrote:
+1
On 29 déc, 20:51, Yaakov yaakov.chai...@gmail.com wrote:
Yes, +1 here! Great article, but please post the source code.
Thanks,
Yaakov.
On Dec 29, 1:00 pm, jpnet jprichard...@gmail.com wrote:
I really like this
27 matches
Mail list logo