On 25 October 2011 20:57, Jeff Chimene <[email protected]> wrote: > On 10/25/2011 11:16 AM, Dennis Haupt wrote: >> hi there, >> >> a coworker told me that jquery has a bunch of advantages over gwt and >> that gwt offers pretty much nothing that jquery doesn't - and is going >> to infest our source code if i can't stop him.
This is a typical first moment of a flame war. :) > 1) There's always the port of jQuery to GWT called GQuery. It does add > some value, and seems to work well for the limited use I've made of it. > > 2) GWT is much more than just widgets (as is jQuery). Does your > co-worker know that GWT provides the benefits of type-safe code, code > optimization, leveraging IDEs for Java? > > 3) jQuery is a fine library. At the end of the day, you're still writing > and debugging pure JavaScript. As some Italians say, "I'd rather pound > on 'it' with large rocks. > > 4) There's probably a happy medium here, somewhere. But, in my IMNSHO, > if your team hasn't settled on a set of technology solutions, and > management hasn't supported that decision, then you have other, more > substantial issues. I have experience at both side. In my thesis I made a small php framework which generate jQuery source code to avoid writing javascript. If you do something like this ever you know this is could be a hard way. This was a hell itself for me. Debugging javascript It's a terrible thing even you have such a good application as firebug. I like jQuery because it's easy to use and fancy and etc, etc, etc. But, this is only a javascript library. By the way, my job is testing a huge website based on .NET technology and I hear every day they cursing my developer colleagues because they have to write javascript, html and C# code. And they have to debug it. Not to mention the fact you can't write junit tests for javascript. In my opinion here is the biggest advantage of gwt. You have to write only java code! From here you have all of advantage of using only one programming language, in this case java. For example, debugging, type safe, OOP and not to mention the IDEs. And top of that if you use other java technologies you have deal with only one programming language and as a consequence you can find employers easier, for example. -- - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- ""Trust in God and keep your gunpowder dry!" - Cromwell -- 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.
