I'm building a website at home that contains a fair amount of AJAX and recently started using the Google Web Toolkit (GWT). although it's still early, i have to admit, I'm very impressed. the basic idea behind it is that you write Java code and GWT compiles it into JavaScript. Why would you want that? Here's a few things this offers:
* You can use any Java development tools (Eclipse, IntelliJ, JProfiler, JUnit).
* Static type checking in Java reduces errors. Common JavaScript errors (typos, type mismatches) are caught at compile time.
* Your can write clean, OO Java instead of incomprehensible JavaScript.
* Generated JavaScript is cross browser compatible - you don't have to deal with stupid browser quirks!
* You can test your code with JUnit!
* You can debug the code (step through it)!
* AJAX calls look like regular Java method calls
If you're doing web development with any significant amount of JavaScript in it - especially Ajax - I *highly* recommend you check out GWT.
EDIT: forgot to mention some VERY nice libraries to use in conjunction with GWT:
http://gwt-ext.com/
http://code.google.com/p/rocket-gwt/
http://gwt.components.googlepages.com/
http://gwt-widget.sourceforge.net/
http://gwtiger.org/
* You can use any Java development tools (Eclipse, IntelliJ, JProfiler, JUnit).
* Static type checking in Java reduces errors. Common JavaScript errors (typos, type mismatches) are caught at compile time.
* Your can write clean, OO Java instead of incomprehensible JavaScript.
* Generated JavaScript is cross browser compatible - you don't have to deal with stupid browser quirks!
* You can test your code with JUnit!
* You can debug the code (step through it)!
* AJAX calls look like regular Java method calls
If you're doing web development with any significant amount of JavaScript in it - especially Ajax - I *highly* recommend you check out GWT.
EDIT: forgot to mention some VERY nice libraries to use in conjunction with GWT:
http://gwt-ext.com/
http://code.google.com/p/rocket-gwt/
http://gwt.components.googlepages.com/
http://gwt-widget.sourceforge.net/
http://gwtiger.org/