Google Releases AJAX Framework 327
maquina writes "Google released a new AJAX framework based on Java. From Google's mouth: "Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language." This impressive framework promises to make AJAX available to the masses and is one more step towards Google becoming the de facto Internet platform provider."
Google: (Score:5, Interesting)
The best feature of this toolkit (Score:2, Interesting)
I think Google is mostly responsible for launching the AJAX trend, and now they're moving in a brand new direction? Beautiful.
Oh and they even distributed half of the source code for the project in the JAR files.
Re:The best feature of this toolkit (Score:4, Interesting)
Re:The best feature of this toolkit (Score:5, Informative)
Re:The best feature of this toolkit (Score:2)
Re:The best feature of this toolkit (Score:5, Interesting)
This is sexy stuff, people.
The worst feature of this toolkit... (Score:5, Interesting)
Re:The worst feature of this toolkit... (Score:2)
Re:The worst feature of this toolkit... (Score:2)
Um, read the link I provided. That's why it's there. It says very clearly that the class libraries are released under the Apache license, but not the actual compiler or hosted browser.
Another downside... (Score:5, Interesting)
Re:Another downside... (Score:5, Insightful)
Re:Another downside... (Score:2)
The apps I use do not (this includes Firefox). I'm doing "apt-get update" to check for new versions
Oh, you meant "applications for MS-Windows"
That's what happens when you don't have a package management system.
Seriously, why isn't MS doing that : when you install an app (MS or 3rd party), it writes somewhere a link to an internet repository, that will be checked when going to Control Panel -> Add/remove app
Re:Another downside... (Score:2)
Application developers can add links and version info in Add/Remove Programs.
Also, Active Directory admins can publish packages to clients on the domain. The packages will auto-install or show up in Add/Remove Programs, depending on how it's configured.
This would be similar to the internal RPM repositories
Re:Another downside... (Score:4, Insightful)
Re:Another downside... (Score:3)
It still checks, you just aren't using the results of that check.
Re:Another downside... (Score:4, Informative)
Re:Another downside... (Score:2)
There are those that check repositories manually on a regular basis (or never!) for updates. The repositories (in some case run by the vendor) will have similar anonymous information about you that Google logs. However this method is a potential problem - you may have a vulnerable machine/software if you don't get your patches fast enough (or not at all).
Then there are those that run tools like RHN in the background (similar to Automatic Updates in Windows
Re:Another downside... (Score:4, Insightful)
Re:Another downside... (Score:3, Interesting)
But again, what Google is doing is very common pr
Re:The best feature of this toolkit (Score:5, Informative)
Er, nope. Hard as it is to believe, Microsoft were there first with the awesome Outlook Web Access which mimics Outlook, on a web page really, really well. This used their XMLHTTP ActiveX object which is also used extensively in Windows Update.
The rest happened from there really. Google is probably the best known current implementer of AJAX, but good as they are I certainly wouldn't say they launched it... and I certainly wish world + dog would stop releasing AJAX frameworks!
Nope - OWA was closed. (Score:5, Informative)
Re:Nope - OWA was closed. (Score:2)
If ms would take the time to improve OWA's abilitys with other browsers they would have the most powerful web mail out there.
on the up side if you are willing to rip your hair out you can fix most of the cross browser issues your self - it isn't that bad
Re:The best feature of this toolkit (Score:5, Insightful)
Microsoft might have provided the first XMLHttpRequest implementation and used it first, but it was Google that made it popular. Before Google Suggest (and later GMail) caught everybody's attention, it languished relatively unknown to most developers for years. Now you can't get away from it.
Sure, browser compatibility played a large part too, but even after Mozilla implemented XMLHttpRequest, I didn't see many people talking about it until Google started using it. So Microsoft might have launched XMLHttpRequest, but it was Google that launched the trend, which is what xbrownx said.
Re:The best feature of this toolkit (Score:3, Informative)
To be fair I think the progression to AJAX was an evolution of which the last breaking point was web service and the ability to easily (I use that term lightly) transmit simple objects across the wire. When MS built their web outlook they where passing raw XML back and forth across the wire, with all the nastiness that comes along with it. With the push towards web services, and the XmlHttpRequest laying in obscurity it was only natural that it someone would (re)figure out the coupling of these technologie
Re:The best feature of this toolkit (Score:3, Informative)
Re:The best feature of this toolkit (Score:5, Informative)
It's not "beta" like this half-baked "me-too" from google, and it's open-source.Also commercial support is available it you want to pay for it.
Re:The best feature of this toolkit (Score:2)
I think Google is mostly responsible for launching the AJAX trend,
Thank goodness there are true innovators like Google to prevent technology from suffocating under the Microsoft Blanket.
I guess I'm old fashioned enough to focus o
Re:The best feature of this toolkit (Score:2)
Re:The best feature of this toolkit (Score:2)
Which is also the greatest danger of such toolkits. Once you learn something like this, you know the framework but you know less and less about the underlying technologies. You can learn this framework, or you can learn ASP.NET, or Ruby on Rails, or whatever, which are all very different ways of accomplishing the same thing. I'm not saying that this is bad overall, sinc
Re:The best feature of this toolkit (Score:3, Insightful)
The effect of this is that, if AJAX could only be used by people who understood all the issues of the underlying implementation, then it would hardly get used at all. Toolkits like this will allow 100% of developers to use 90% of the technology, instead of 5% of deve
I knew this would eventually happen. (Score:3, Insightful)
Comment removed (Score:5, Funny)
Re:I, for one... (Score:5, Insightful)
You people are look old farts complaining about the kids and their music today. Sure there are buzzwords and there is hype, but there always is, so just deal with it.
Re:I, for one... (Score:2)
but is it prototype.js based? (Score:2)
Re:but is it prototype.js based? (Score:2)
The license is restrictive.. mods prohibited (Score:5, Informative)
Except for distributions for internal business and/or personal use to your employees or contractors in compliance with these Terms and Conditions, you may not distribute Google Web Toolkit Development Tools or any services or software associated with or derived from them, or modify, copy, license, or create derivative works from Google Web Toolkit Development Tools, unless you obtain Google's written permission in advance. If you wish to do any of the above, please contact us by emailing apis@google.com. You may not use the Google Web Toolkit Development Tools to develop or distribute products that violate the law or legal rights of third parties.
No, I'm not looking a gift horse in the mouth and why does this matter? Because I happen to prefer PHP for web development (just a personal preference). It would be nice to be able to move the JavaScript components off from the Java framework into a PHP based framework. Well, apparantly you can't do that without special permission.
BTW, the Yahoo UI Library [yahoo.com] is BSD licensed.
Re:The license is restrictive.. mods prohibited (Score:2, Informative)
Re:The license is restrictive.. mods prohibited (Score:2)
Re:The license is restrictive.. mods prohibited (Score:2, Interesting)
So do it, get it done in the next two weeks, email Google, ask permission to distribute it and get offered a job.
Re:The license is restrictive.. mods prohibited (Score:5, Informative)
GWT is available for commercial, non-commercial, and enterprise use with almost no strings attached. Please review the complete terms for details:
http://code.google.com/webtoolkit/terms.html [google.com]
Bret Taylor
Product Manager, Google Web Toolkit
Re:Thank You for clearing that up. (Score:3, Interesting)
I figured that the output would be owned by the user, but the terms initially looked like the toolkit itself was restricted except for the parts you got from other projects.
I opened the tarball and the two jars and have been reviewing some of the files. I see that substantial numbers of the
Wow (Score:3, Interesting)
Not included and YUI comparisons... (Score:5, Informative)
I agree with someone else that the Yahoo UI (yui) toolkit seems to get ignored a bit, but I think this plays to a different crowd.
1) This is a java-based thing only it seems. People writing
2) The YUI stuff was more javascript oriented, and, from my experience, difficult to use in some settings. I had a hard time getting the slider stuff to work as needed based solely on their code and one example page, for example. Perhaps that makes me not as l33t as some others who can debug others' javascript in their sleep - I dunno. I do know that if Google makes this easy for people to adopt, it'll take off. Partially because there's a lot of google love amongst early-adopters in the tech community, and partially because making things easy is just a good way to attract people.
3) With the YUI stuff, Yahoo was/is seeming to cater to the scripting crowd more (witness the native serialized PHP responses you can get back). If google is going after the "I write Java apps" crowd, they may be able to bring in a new set of people to web-app development who before now were not in the web space.
I interviewed one of the Yahoo engineers who worked on the YUI widgets release at my podcast - http://webdevradio.com [webdevradio.com] - you can get some more perspective on what Yahoo was/is doing and trying to achieve with that move.
Just some random thoughts...
Take notes all.. (Score:3, Interesting)
YUI (Score:3, Interesting)
This impressive framework promises to make AJAX available to the masses and is one more step towards Google becoming the de facto Internet platform provider."
Erm, actually they're playing catch up. From what I can tell, GWT is rather inferior to YUI [yahoo.net].
Already Been Done (Score:2, Interesting)
Google a Java shop? (Score:4, Interesting)
Any infos?
Re:Google a Java shop? (Score:5, Informative)
Chris
Go google (Score:2, Funny)
Re: (Score:2)
So much potential (Score:2)
I'm excited for this tool, but I can't use it yet. Bummer.
~D
Genius (Score:2, Insightful)
I've never been a big fan of % languages. Mixing HTML and anything always looks, bad and fails misrably at seperating code from presentation. Seperating code from presentation on a dynamic page is impossible, but sticking the code in
Re:Genius (Score:3, Informative)
I'm suprised no one, especially Sun, have tried it earlier.
They did (along with lots of other OSS toolkits - get googling) [sun.com]
Second born... (Score:4, Funny)
"What's the catch? Does Google own my GWT application? Do I have to run AdSense? Do I have to give Google my first-born child?
There's no catch, we promise. See the Terms of Use for the nitty gritty details."
I checked the ToU, apparently you have to make Adsense space on your *second* born child. Premium crib space is up to eCPM of $0.42 cents too, diapers down to under 10 cents.
Very clever of them, I bet most people wouldn't check...
Yet Another Initiative to fire all the webdevs (Score:3, Informative)
Beg to differ. JavaScript has just as much "modularity" as any other object-oriented language; methods like JSON [json.org] and libraries like Dojo [dojotoolkit.org], Prototype [conio.net], and the aforementioned Yahoo! Web Services APIs [yahoo.com] are proof.
Every few years there comes along Yet Another Initiative to fire all the webdevs. No disrepect to Google's engineers, who are clearly brilliant, but we've been there [microsoft.com] and done that [adobe.com]. For a good time, open up Firefox's DOM Inspector, crack into their Kitchen Sink demo [google.com], and boggle over the iframes and tables and embedded JavaScript, oh my!
minor error in the Kitchen Sink Demo (Score:2)
http://code.google.com/webtoolkit/documentation/ex amples/kit [google.com]
back to the back button! (Score:3, Informative)
I haven't heard anyone comment about what I think is a great feature in this toolkit:
I know this is something you can hack together if you're writing your own hand-crafted js, but this will be a nice feature -- I haven't looked at the toolkit yet, but I wonder how easy to use this will be.
Have any of the other frameworks provided this mechanism?
Raises more questions than it answers... (Score:4, Insightful)
Also, this is coming right on the heels of the buzz about Oracle's AJAX Framework [slashdot.org]... and of course there's the Eclipse AJAX Toolkit Framework [eclipse.org], which uses Dojo [dojotoolkit.org], Zimbra [zimbra.com], and OpenRico [openrico.org] (which in turn uses prototype [conio.net])... others have mentioned Yahoo!'s toolkit and Atlas, as well, not to mention Rails... My point is that there are suddenly a ton of frameworks that all have slightly different approaches to the whole AJAX idea. Some are higher-level, some lower; some target a specific server backend; some offer UI libraries... Any or all of these might merge or die off or be made irrelevant at any time. It's almost harder to develop AJAXy applications now than back when you had to write your own HTTP request code... sure, you can knock one out in ten minutes now, but you spend the time you saved choosing the toolset beforehand.
I think I'll wait a bit... we've put the scorpions in the box and shaken it, so let's see who survives.
Re:Raises more questions than it answers... (Score:2)
That's true but as long as you choose an OpenSource framework (I prefer Dojo) you can support it yourself at least long enough until you've converted all your code to a new framework. If you choose any proprietary framework (like Google's) even if it doesn't cost anything you don't have this way.
O. Wyss
echo framework anyone? (Score:5, Informative)
Sounds familiar. It's rather like the echo framework [nextapp.com]
The big differences I see are:
1) Google toolkit advantages:
- No load on the server to render the UI. All ui code runs on the browser, so this may help server scalability.
2) Echo advantages:
- Fully open source.
- Richer set of ui components (IMO - see the demo at http://demo.nextapp.com/Demo/app [nextapp.com] )
Only thing that matters (Score:3, Insightful)
Remember the giant sucking sound from 2 years ago? (Score:3, Insightful)
Before you get ideas of grandeur... (Score:3, Insightful)
The Google Web Toolkit supports only a small fraction of the Java Standard Library and seem to be able to replicate the functionality of only a few classes through its emulation library.
This is the stuff from the Java libraries that you can use and have it be able to "translate" your work: java.lang classes [google.com] and java.util classes [google.com].
What part of the API is supported? (Score:2)
Internet platform? (Score:2)
If you like Java... (Score:5, Insightful)
I'll stick to rolling my own, thanks. I suspect I wouldn't be able to use a tool like this for more than a half hour without finding something I want to do that the toolkit doesn't support. What then? Can you edit the JavaScript output by hand or is it totally obfuscated?
Lisp Macros (Score:3, Interesting)
Re:Yawn (Score:2)
Re:Yawn (Score:5, Funny)
This is required by the Central Hype-Limit Theorem:
Re:Once again, Yahoo! is overlooked (Score:5, Insightful)
Re:Once again, Yahoo! is overlooked (Score:3, Funny)
Re:Once again, Yahoo! is overlooked [really?] (Score:2, Insightful)
Overlooked in what way? The title of the article was "Google Releases AJAX Framework," not "A Comprehensive Listing of All AJAX Toolkits."
Yeah, right.. (Score:5, Informative)
No, they haven't - at least not unless you have some other information you're not sharing.
From the Google site:
From the Yahoo link you provided:
So, how is this the same thing?
See previous posts about ATLAS (Score:3, Informative)
Atlas is the AJAX framework built by Microsoft that allows you to use
It is a much more proper predecessor to Google's release, compared with Yahoo!'s offering (which I believe MS also predated).
Re:Once again, Yahoo! is overlooked (Score:5, Informative)
The Y! framework still requires you to write HTML and Javascript - they just make implementing DHTML effects + AJAX less painful.
The Google framework removes the base need for HTML and Javascript authoring from the application development process entirely. Obviously you'll want to make the app look nice and need custom styling but in order to actually develop the functionality, zero HTML is needed.
As a consequence you can use the Yahoo stuff with any backend implementation language (PHP, Java, whatever) while the Google framework is limited to strictly Java. I don't mind though.
Re:Once again, Yahoo! is overlooked (Score:5, Informative)
To be fair, Yahoo's is just a collection of controls and widgets to be included in a project indvidually - which has been offered by many other sites for quite a while now - while Google's promises to be a framework that takes the headache out of front-end AJAX development. Of course, in my experience "automatically generates code" and "takes the headache out of" are eventually incompatible down the line, but what do I know.
I haven't played with either yet, but they sound like two different beasts to me. The most interesting part of this to me would be to see how Google writes their web code.
Re:I've used Ajax a few times... (Score:2)
But I usually don't inflict tired jokes on the slashdot audience (oh, wait, I do all the time, sorry)
Re:I have yet to figure out AJAX (Score:5, Funny)
Maybe we should just call it GAWD for short!
Re:I have yet to figure out AJAX (Score:4, Funny)
I forsee a couple of issues:
"Spend the whole day playing with GAWD"
"That site is mostly created by GAWD"
Re:Interesting... (Score:4, Interesting)
"http://www.w3.org/TR/html4/strict.dtd"><html<hea
href="http://www.example.com"<em>there</></>.
Evil?</><p<a
href="http://www.example.com/">is</></></></>
Yes the above code is valid html. Do you speak it?
Re:Interesting... (Score:2)
Re:Interesting... (Score:3, Informative)
http://virtuelvis.com/archives/2004/02/evilml [virtuelvis.com]
Re:Interesting... (Score:4, Informative)
Yes, it is. It just uses HTML syntax that virtually no browsers have implemented. This is what the HTML 4.01 specification [w3.org] has to say on the matter:
Re:Interesting... (Score:2)
Re:Interesting... (Score:2)
The sad part is I can read some of it...
Re:Interesting... (Score:2)
Yeah, but I also know English pretty well, and that wasn't syntactically correct English. The "there" should be "they're". And the "Do" really shouldn't be capitalized, unless you're also going to capitalize "believe".
Oh, and where's the closing > for the <body tag?
Re:Interesting... BrowserQuirks++ (Score:4, Informative)
The browser vendors consider this "a really good thing" because it offers "product differentiation" and "market segment focus". The cost in human lives is not an issue.
Re:AJAX isn't really ready for .NET (Score:3, Informative)
Have you seen ICallbackEventHandler [asp.net] in ASP.NET 2 and MS's own ATLAS [asp.net] toolkit?
Re:AJAX isn't really ready for .NET (Score:2)
Re:AJAX isn't really ready for .NET (Score:3, Informative)
Re:java based on java? (Score:2, Informative)
Javascript not Java, so yes, you can have AJAX based on something else.
Re:java based on java? (Score:2, Informative)
so yes, you can have it based on something else. Java != Javascript
Re:java based on java? (Score:2)
JavaSCRIPT. They're not the same thing.
Re:java based on java? (Score:2)
but it started out as meaning: Asyncronous Javascript, something and XML
Re:java based on java? (Score:2)
ECMA Script is the proper name for Javascript. The reason jscript was named the way it was is due to Netscape attempting to bandwagon someone else's hype for their own means.
Re:java based on java? (Score:2, Informative)
Re:Google is playing catch-up (Score:2)
Re:Google is playing catch-up (Score:3, Insightful)
Did you stop to think I might have been saying that, discounting Mono:
Java is available for everyone?
I don't relish the chance of developing with either but I'd be more likely to pick up a Java toolkit, thank you.
PS> WTF is with slashcode's not honoring line breaks between quotes in "Plain Old Text"?
No (Score:2)