aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jsquery/README.txt22
1 files changed, 15 insertions, 7 deletions
diff --git a/jsquery/README.txt b/jsquery/README.txt
index 32d45e37..dbf1c9fb 100644
--- a/jsquery/README.txt
+++ b/jsquery/README.txt
@@ -10,17 +10,25 @@ javascript can be used as a substitute of jquery.
- Include the script jsquery.nocache.js in your html files instead of jquery.js
-This is an experimental feature and not all of the methods in jquery are available,
-performance could be worst than jquery since gwtexporter needs to compute many runtime
-operations in order to figure out which method execute and to wrap gwt objects to js
-objects and viceversa.
+This is an experimental feature and not all of the methods in jquery are available yet,
+
+Performance could be worst or best than jquery depending on the cases:
+- Gwtexporter needs to compute many runtime operations in order to figure out
+ which method signature to execute and how to wrap gwt objects to js objects and viceversa.
+- Once gwtexporter has selected the aproppriate method, gquery performs better in many
+ cases like selectors or many operations in IE.
There are many advantages in exporting gquery to js, but the main goal is to use jsni
-code from jquery plugins in gwt without porting this code to java.
+code from jquery plugins in gwt without porting this code to java. So developers could
+create gquery plugins taking the javascript code of the original plugin, putting it in
+a jsni method, and coding in java only the wrapper methods to access the plugin.
-Right now most methods in GQuery class are exporte via JQ class, but plugin developers
-could select just the methods they need for their plugins.
+Right now most methods in GQuery class are exported via JQ class, but plugin developers
+could select just the methods they need for their plugins and reduce the final size of
+the generated js code.
+First working example using jsquery.js is at:
+http://gwtquery.googlecode.com/svn/api/samples/zoom.html
- Manolo