• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

differences and usage of JavaScript, Ajax, GWT

 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am interesting in the differences and similarities with technologies in the title. I am Java programmer, but oriented especially to back-end.
I am little confused about usage of Ajax or GWT, particularly and how the JavaScript and XML are involved into. I ask this because, I found a plenty of books, the whole assortment devoted to these technologies ( you have a bunch of books related to JavaScript, a bunch related to Ajax, a bunch related to GWT). My question is: should I start, let say Ajax with book "Ajax in action", as an example, even if I have no knowledge of JavaScript ( is that wrong?). Or should I start "GWT in Action", also without knowledge on JavaSript (would I find there a necessary knowledge about JavaScript?).
Or I NEED to O'Reilly's 'Learning JavaScript' books first ( how they are related JavaScript-Ajax-GWt)? I mean what is the BASE and what is UPGRADING ?
Thanks...

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajax is not a competing technology to JavaScript -- it is part of JavaScript.

GWT is its own deal. Essentially, with GWT, you write your UI programatically in Java (sort of like Swing apps) and GWT "cross-compiles" it to JavaScript and HTML. I personally loathe it.

XML comes into the picture only if that's what you return from Ajax requests. Most people are more fond of JSON for the most part.

If you want to learn Ajax, you'll need at least a basic understanding of JavaScript, because again, Ajax is JavaScript. (It's sort of like saying "I want to learn how to use the java.net classes, do I need to learn Java?").

 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So in these technologies essential is JavaScript, upon what they are built...Thanks Bear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic