as for me, I took both, gwtquery and jquery in my app, because I
wanted to use gwtquery's API in my javacode for some effects, but I
could not get some jquery plugins to work, so for those I just took
jQuery and written a small wrapper for the plugin to initilize from
java

On 13 Okt., 16:53, Falcon <[email protected]> wrote:
> If you use gwtquery, you can do all of your code directly in Java and
> GWT will be able to compile it.
>
> If you use jQuery directly, you'll have to wrap the jQuery calls in
> JSNI (although you can wrap them in GWT Java functions and use those
> too in some cases), so GWT won't be able to optimize as well. However,
> jQuery has probably advanced quite a bit since the last version of
> gwtquery was released, plus gwtquery may not have had full feature
> parity at the time either. The latest version (due this weekend,
> October 16th) will have mobile web browser support (even for
> Blackberry OS 4.6) which GWT does not have built-in.
>
> So to recap: if you use gwtquery you'll get the GWT compilation, code-
> splitting, etc. benefits and the usual Java (e.g. debugging, etc.)
> benefits but you'll be missing features.
>
> If you use jQuery you'll get all of the features but will lose the
> compilation benefits (and won't be able to code-split the jQuery code,
> of course, although code-splitting should still work for everything
> else) and will need to make heavy use of JSNI to call the jQuery
> functions.
>
> On Oct 13, 5:03 am, Ignasi <[email protected]> wrote:
>
> > Hi all,
>
> > To develop a gwt application with jquery code embeded wich is the best
> > option?  and why?
>
> > a) Use gwtquery-1.0-SNAPSHOT.jar lib
> > b) Use jquery.js directly
>
> > Thanks a lot!
> > Ignasi

-- 
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