Google updates web app toolkit for speed

NEWS

Google has released a significant update to Google Web Toolkit, the web application development tool it uses for many of its own web apps, providing features designed to help speed up load times and performance.

Google said it uses Google Web Toolkit (GWT) in the development of web applications such as Google Wave and the AdWords 3.0 interface. The toolkit turns Java code into JavaScript that can be run natively in browsers. It is designed to help developers bridge the differences between various browsers.

"We use Google Web Toolkit for all our Java-based internal apps," said Google chief information officer Ben Fried, in a statement. "In addition to the big benefits in developer productivity GWT offers, the future-proofing and browser independence you get out of the box mean that we're protected from the problems caused by browser-specific bugs and exploits."

Several of the features introduced in version 2.0 of GWT, which made its debut on Tuesday night at the Google Campfire One developer event, are aimed specifically at improving application performance.

Speed Tracer, for instance, is designed to help identify and fix performance problems by visualising metrics from key points within the browser while the application runs. The tool particularly looks at problems with the interactions between JavaScript, HTML and Cascading Style Sheets (CSS), Google said.

A new feature called 'code-splitting' divides the application code into multiple fragments to improve start-up speed. The feature means the parts of an application needed for basic interactivity can be loaded first, with the rest loading as needed, according to Google.

The company said it has also improved the way the compiler produces JavaScript, making the resulting code smaller and faster.

UiBinder is another feature aimed at condensing code, in this case making user-interface code smaller, as well as faster to develop and easier to maintain, Google said.

The feature allows programmers to develop the user interface code independently in XML, which is more familiar to many user-interface designers than Java, according to Google.

"UiBinder is a great way for programmers to collaborate with UI designers who are more comfortable with XML, HTML and CSS than Java source code," the company said.

Other features include layout panels, a technique designed to help specify the exact look and feel needed for a web application, and 'development mode', which allows applications to be debugged directly in a web browser.

The toolkit is available for download from Google's GWT website.

Version 1.6 of GWT was released in April, adding features such as Eclipse integration.

Talkback

I've been having this long and consistent argument with developers about Mobile web versus Native apps (yeah, i know) and it's hard for me to understand why so many developers are so dead set on native apps.
It just seems foolish.
I've reviewed mobile sites and web apps in the thousands for seego.com and really, after checking them against native apps i'm just not sold on any kind of real advantage that isn't going to end up limited in the short term for native apps (there are fantastic and stinky apps in both groups).
I just don't get why someone would limit their base right off the bat by coding for specific hardware types as opposed to coding for an accessible browser type.
So, the more Web apps the better in my book.
Thank you Google.

Neilk 11 December, 2009 20:01
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

bordero

ike fuelband is great for every healthminded person ! to work out! theres this website called textme4free.com that you can use to text anywhere in...

4 hours ago by bordero on Nike's FuelBand wristband gamifies exercise
BrownieBoy

> I'm told it's somewhat annoying when people have their Macs stolen > and Apple stores treat the thief as the owner, but there you go. Ouch,...

6 hours ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
Moley

@kevinmchapman. OK, I acknowledge that 'most' was a gratuitous throwaway comment as an afterthought and too presumptuous. As to proof, as you...

11 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
Jack Schofield

@BrownieBoy > Works really well for thieves.... >> Nice attempt to deflect the argument by tossing in a point that's totally >> irrelevant, even...

12 hours ago by Jack Schofield on AMD Ultrathins to challenge Intel Ultrabooks
raskolnikof

fantastic that the so called piracy bills have been withdrawn. however, these anti-democracy supporters are still in the shadows so lets be alert...

13 hours ago by raskolnikof on SOPA, Protect IP support wavers in face of online protest
Tony Douglas

Please God no; teach them anything you like - thinking rationally, the uses and misuses of data, what data is and what it's not - but leave the...

15 hours ago by Tony Douglas via Facebook on Kids are the future. Teach ’em to code.
BrownieBoy

@Jack, > Works really well for thieves.... Nice attempt to deflect the argument by tossing in a point that's totally irrelevant, even it were...

1 day ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
bootlegger

Make that 13 people now - I got refused today at Manchester airport. I thought I was up to date on this legislation - I knew of the EU ruling from...

1 day ago by bootlegger on UK airport body scans will not be opt out
tinycg

Don't forget to check out apps like GoodReader or SlideShark either, they're indispensible for people on the go in presentation situations. Best...

1 day ago by tinycg on Four top iPad apps for people on the move
TerryRK

Well it seems there is something a number of us agree on. Why is the Ubuntu Unity launcher so ugly? I thought perhaps it was something to do with...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

2 days ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

2 days ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

2 days ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

3 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

3 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

3 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

3 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

3 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

3 days ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany

Latest in Application Development