You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Finney <fi...@ACM.org> on 2009/03/15 13:37:12 UTC
Google Web Toolkit and JQuery
Hi,
Reading from below "we want users to embrace and know JQuery", that's a
powerful vision.
I have thoughts about creating something with others that will be around for
at least a couple years. In a few weeks, I plan on starting this project.
I've heard great things about the Google Web Toolkit and thought about using
it for this next project. The other people I plan on working with like
working with Java a lot more than JavaScript.
As someone pointed out to me, jquery and Google Web Toolkit (GWT
http://code.google.com/webtoolkit/ ) are very different.
Will using GWT clash with struts2 focusing on jQuery? I wouldn't think so.
[OT?]Will using GWT tie our hands and thus not avail ourselves of stuff
jQuery has available?
Architectural / technological choices like these are always interesting. :)
Thanks for your help.
--
Michael Finney - "Always Striving To Serve You Better Every Day"
finney@ACM.org
http://www.SmilingSoftwareSolutions.com
-----Original Message-----
From: Wes Wannemacher [mailto:wesw@wantii.com]
Sent: Wednesday, March 11, 2009 6:20 PM
To: Struts Users Mailing List
Subject: Re: struts2 and dojo
<clip>
I've started and received significant contributions to a JQuery plugin.
JQuery
is a better fit for us than Dojo was because it is slim, well-tested, and
seems to stay mostly API compatible.
There are a few design decisions being made differently with this plugin.
Mostly, rather than providing a complete abstraction from Javascript, the
goal
will be to provide some helpful tags, but expose as much as possible. Rather
than trying to fit everything into the tags, we want users to embrace and
know
JQuery.
<clip>decided
to go with JQuery as it has become very popular and very easy to extend.
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Google Web Toolkit and JQuery
Posted by Wes Wannemacher <we...@wantii.com>.
On Sunday 15 March 2009 08:37:12 Michael Finney wrote:
> Hi,
>
> Reading from below "we want users to embrace and know JQuery", that's a
> powerful vision.
>
> I have thoughts about creating something with others that will be around
> for at least a couple years. In a few weeks, I plan on starting this
> project.
>
> I've heard great things about the Google Web Toolkit and thought about
> using it for this next project. The other people I plan on working with
> like working with Java a lot more than JavaScript.
>
> As someone pointed out to me, jquery and Google Web Toolkit (GWT
> http://code.google.com/webtoolkit/ ) are very different.
>
> Will using GWT clash with struts2 focusing on jQuery? I wouldn't think so.
>
> [OT?]Will using GWT tie our hands and thus not avail ourselves of stuff
> jQuery has available?
>
> Architectural / technological choices like these are always interesting. :)
>
> Thanks for your help.
There was a GWT plugin at one point, but it doesn't appear to be working. I've
not used GWT myself, so I can't really attest to it's usefulness. Knowing that
it is used at Google for their own apps, I'm sure it scales up well.
The reason I've stayed away from it is that it seems much more intrusive to me
than JQuery. In my mind it fits more as an auxilliary plugin than JQuery.
JQuery can be brought into a project with very little effort. It is much more
thin, to me it is like Prototype. It provides simple utilities without
populating the JS namespace and it communicates between your server using
making no assumptions about the format of the data being sent back and forth.
If you want to send and receive JSON, HTML, XML or just some raw text that's
fine. On the server, you don't need to know that you're sending to JQuery and
in the browser.
Within the HTML, JQuery is only concerned about the ID attribute and/or the
class. To add to that, the entire library is usually made up of a single JS
class, so there is little concern about clashing namespaces. These factors
lead to an app that can degrade nicely if the user has javascript disabled.
If your question is whether or not you can use the two together, my gut
feeling is that the two would probably play nicely. But the non-intrusiveness
of JQuery is the main reason I think it makes for a good AJAX plugin for
Struts2.
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Google Web Toolkit and JQuery
Posted by Frans Thamura <fr...@meruvian.org>.
that will be awesome if we can integrate GWT with S2, esp in one project ;)
RIGHT now, i must compile and put in s2 project, and run it, debuging
is nightmarre here
anyone have experience with this, that willb e awesome
i think REST + JSON plugin will become th emost important thing in s2
f
On Sun, Mar 15, 2009 at 7:37 PM, Michael Finney <fi...@acm.org> wrote:
> Hi,
>
> Reading from below "we want users to embrace and know JQuery", that's a
> powerful vision.
>
> I have thoughts about creating something with others that will be around for
> at least a couple years. In a few weeks, I plan on starting this project.
>
> I've heard great things about the Google Web Toolkit and thought about using
> it for this next project. The other people I plan on working with like
> working with Java a lot more than JavaScript.
>
> As someone pointed out to me, jquery and Google Web Toolkit (GWT
> http://code.google.com/webtoolkit/ ) are very different.
>
> Will using GWT clash with struts2 focusing on jQuery? I wouldn't think so.
>
> [OT?]Will using GWT tie our hands and thus not avail ourselves of stuff
> jQuery has available?
>
> Architectural / technological choices like these are always interesting. :)
>
> Thanks for your help.
>
> --
> Michael Finney - "Always Striving To Serve You Better Every Day"
> finney@ACM.org
> http://www.SmilingSoftwareSolutions.com
>
> -----Original Message-----
> From: Wes Wannemacher [mailto:wesw@wantii.com]
> Sent: Wednesday, March 11, 2009 6:20 PM
> To: Struts Users Mailing List
> Subject: Re: struts2 and dojo
>
> <clip>
> I've started and received significant contributions to a JQuery plugin.
> JQuery
> is a better fit for us than Dojo was because it is slim, well-tested, and
> seems to stay mostly API compatible.
>
> There are a few design decisions being made differently with this plugin.
> Mostly, rather than providing a complete abstraction from Javascript, the
> goal
> will be to provide some helpful tags, but expose as much as possible. Rather
>
> than trying to fit everything into the tags, we want users to embrace and
> know
> JQuery.
>
> <clip>decided
> to go with JQuery as it has become very popular and very easy to extend.
>
> -Wes
>
> --
>
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
--
Frans Thamura
Meruvian
One Stop Java and Enterprise OSS Provider
Mobile: +62 855 7888 699
Blog & Profile: http://frans.thamura.info
Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan...
URL: http://www.meruvian.com
Promo: Beli Zmanda Backup di Meruvian, 10% discount dari pricelist..
Buruan sekarang!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org