GWT for Java to AJAX compilation
code.google.com
code.google.com
I predict that soonish we'll begin seeing web applications that weren't possible before, and this will force a big shift into GWT or a GWT like web application development paradigm.
Google has actually been doing this for a while now, even before GWT. Much of the javascript that is used in their apps is generated via compiler in one form or another.
- Faster - Slimmer - Better
compare to GWT.
In GWT the browser is abstracted and you dont worry about it. You write AJAX code and it always works. Firefox, IE, iPhone, whatever.
Writing the code itself is not where the real time investment is with ambitious ajax projects. Its wasted in browser-related quirks and debugging. Being able save this valuable time and focus on building something cool is worth it in my opinion.
Also GWT is just plain faster.
Ok, I see you have a point and that does seem like a good idea. The choice of language just seems crazy.
That has not been my experience. I've found that the vast majority of my JavaScript development time goes to areas that are hassles in any rich UI programming (I was a Swing and then Netbeans developer before I turned to the web):
1.) Forgetting to call a listener or otherwise update UI state.
2.) Finding that the UI really works better if some faraway component auto-updates its state when you change this menu item, and having to plumb the update through the whole app.
3.) Working out corner cases when the user selects some combination of options that's so crazy you didn't think anyone could possibly choose it.
I usually do all my development in Firefox and then set aside a week or so to port to IE, which I know everybody says is a terrible development practice, but it's worked on multiple projects for me. I just memorize all the areas where I'm likely to have problems, and avoid them. I usually find that well ofter 60% of the bugs are trailing commas anyway - the event-handling and DOM differences are taken care of by JQuery, and there really are not that many other core language differences.
GWT solves a different (perceived) problem - the lack of classes, inheritance, packages and static type checking in the core language - which is orthogonal to the platform differences.
I'm trying to get into web developement; I've been deep in compilers and local apps for too long :(
There's a good introduction in the form of lectures from Douglas Crockford. I watched them recently and they were informative and interesting.
http://www.catonmat.net/blog/learning-javascript-programming...
I'll take a look at the learning-javascript-stuffs, thanks
This wouldnt have been a valid claim until very recently, like GWT 1.5 so not really old news. GWT 1.5 compiled javascript is super fast relative to older versions.