Tuesday, June 3, 2008

GwtQuery 0.2 released

GwtQuery 0.2 alpha is now available in the repository, both as a jar file, and as a Maven project. Nothing major has changed since the last release except to relayout the directory structure for maven.

Download it at gwtquery.com and have fun!

See the samples/ directory for some example code of how to setup a GWT module to use gwtquery.jar.

-Ray

3 comments:

Galen said...

This is a very exciting library and I realize it's still very early in the game still so i hope I'm not jumping the gun with my questions. My first question is will we see the jquery DOM manipulation methods (append, prepend, etc) any time soon? Second, jquery has a lot of plugins, in your opinion would it be better to implement these plugins in 100% java to be used with GwtQuery, or to write wrappers over the native javascript libraries...or is there some third option for integrating all the plugins?

Ray Cromwell said...

galen,
Excellent questions. The DOM manipulation methods will probably be in the next version. I implemented what I felt was the minimum subset of jQuery needed to do demos and prove the concept.

After that, I feel the next most important pieces are probably the dimensions plugin and effects plugin.

In general, I think it is best to reimplement the plugins in Java. You theoretically could implement them as wrappers around JQuery, but you would lose performance and size, as you'd have to essentially include the entire jQuery library in order to wrap plugins, and GwtQuery in general is not meant as a jQuery wrapper.

jQuery has a lot of plugins, but only a small number of them form the basis of what everyone uses, so my preference would be to see what the top 10 plugins are, and implement those in GWT.

-Ray

James Strachan said...

Great stuff Ray - I love GwtQuery!

I've raised a few issues in the tracker...
http://code.google.com/p/gwtquery/issues/list

I wondered do you fancy setting up a google group for it? Keep up the great work!