On Tue, Jul 5, 2011 at 9:01 PM, Guy Nirpaz <[email protected]> wrote:
> Thanks Christian,
>
> I am well familiar with GWT-Query, however, I feel it doesn't match well GWT
> (MVP) programming model and design.

It is not true, gquery can be used in different contexts and does not
break the MVP pattern if you do not want. It is a helper library not a
programming pattern.
In a MVP app you can use it in different ways:
1. you can put any animation, decoration or enhancement in your view
so as the presenter does not matter since you implement correctly the
view interface. For instance you can have a view with just only
text-boxes, then you could enhance those components with the
gquery-enhance plugin changing boxes by slider, color pickers etc, or
you could add gquery animations overriding onAttach, etc.
2. Gquery also helps in a MVP context since you can use it to decouple
parts, and get widget instances anywhere
MyWidget w = $(".gwt-mywidget_class").widget();

- Manolo

>
> Guy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/yNJ60daUk_sJ.
> To post to this group, send email to [email protected].
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
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