> > 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
I'm copy-pasting some related info from a larger GWT guide I'm doing
(work in progress), hope it helps. I just updated it based on your
questions and would like to see opinions from the rest of the group.

= Using native !JavaScript =

There are cases when you might want to use native !JavaScript rather
than pure GWT, such as the one above. See [http://code.google.com/
webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html JavaScript Native
Interface] and an example of  [http://www.zackgrossbart.com/hackito/
antiptrn-gwt2/ building custom GWT widgets which include native
JavaScript]. JSNI is a good choice when you want to reuse existing
larger !JavaScript functionality (e.g. jQuery plugins) with easy
upgrades to new versions, or sharing your code with other pure !
JavaScript users.

If you are looking for jQuery-like functionality in GWT, there's
[http://code.google.com/p/gwtquery/ gwtQuery] ([http://www.youtube.com/
watch?v=sl5em1UPuoI video introduction]). gwtQuery is a better choice
when you're writing functionality from scratch as it gives you all GWT
advantages over native !JavaScript.

Again, use the best tool for the job. Therefore an important criteria
selection for your tool set should be allowing easy inter-operating
with other tools.

(wiki markup included so you can see the links.)

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