Hi

   I have used Guice and Gin to implements MVC framework(like backend spring
framework). By this way view(ui), event Listener and data
access(xmlHttpReqeust wrapped by REST-GWT) can be seperated by three layers.

   Gin module used to initialize and couple all the instance used in the GWT
module. It's a typicall Ioc container. I found it is rocking by this way in
my project.

Sammi

On Thu, Oct 23, 2008 at 8:06 AM, Flemming Boller
<[EMAIL PROTECTED]>wrote:

> Hi
> We have done it like the mediator has a reference to the view (which
> implements a gwt- neutral interface).
>
> The View has a "hard reference" the mediator.
>
> We want the mediator to be "unaware" of GWT because that means we are able
> to perform many junit tests of the "gui"
> without using the GETTestCase....which is a "no-go" Testcase :-)
>
>
> Please let me hear how you progress and the experiences you have with
> puremvc....
>
> /FLeming
>
>
> On Thu, Oct 23, 2008 at 2:11 PM, marcelo melo <[EMAIL PROTECTED]>wrote:
>
>>
>> Totally agree with you... Simplicity is key most of the times (at
>> least it should :) ).
>>
>> I have one question that is really annoying me. Having used it
>> (puremv) with Flex, it is easy to fire an event at the View and
>> associate it with a method at the Mediator. But, how to deal with it
>> on GWT? I am adding the Mediator as the event listener of the View (by
>> making it implement the relevant View listeners - ClickListener,
>> etc.), but I'm not quite sure if it's the best way to do it...
>>
>> Any ideas?
>>
>> Thanks!
>>
>> On Thu, Oct 23, 2008 at 9:53 AM, Flemming Boller
>> <[EMAIL PROTECTED]> wrote:
>> > Yes I am.  I think is it rather nice little MVC implementation, which
>> has
>> > made it more easy for us to make
>> > components talk to each other in a loosely coupled way.
>> >
>> > Minus is however, that it easy also to create a spider web of
>> notifications
>> > that is hard to overview.
>> >
>> > But common sense and "keep it simple" should be used here :-)
>> >
>> >
>> > /Flemming
>> >
>> >
>> >
>> >
>> > On Thu, Oct 23, 2008 at 1:48 PM, marcelo melo <[EMAIL PROTECTED]>
>> > wrote:
>> >>
>> >> Hi, is anyone using PureMVC for Java / GWT?
>> >>
>> >> Thanks
>> >>
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>>
>
> >
>


-- 
Best Regards,
Sammi

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to