Monday, 17 August 2009

Don't Google Web Apps and Web Tool sites need to be online?

Chris, thanks for raising these questions about Google Apps.
I think the licensing model is OK, but you made me look harder at Google Apps, and
I'm not sure that they can be made to work for an off-line product.

If I understand it correctly, Google Web Apps are always on the web.
And, Google Web Toolkit produces Java files which are compiled into JavaScript when the browser calls the server,
because the JavaScript files are optimised for the different browsers on different platforms.
The whole point of using GWT is that web pages are produced which are always up to date with the latest 'improvements' in browsers.
This is a wonderful solution to the changes in browsers (I've just spent an unpleasant afternoon fixing apps which don't work in IE8),
but it doesn't help us with offline applications.

At the introduction to GWT (at http://code.google.com/webtoolkit/overview.html) it says:

Optimize the JavaScript script downloads based on user profile

Deferred binding is a feature of GWT that generates many versions of your compiled code, only one of which needs to be loaded by a particular client during bootstrapping at runtime. Each version is generated on a per browser basis, along with any other axis that your application defines or uses. For example, if you were to internationalize your application using GWT's Internationalization module, the GWT compiler would generate versions of your application per browser environment, such as "Firefox in English", "Firefox in French", "Internet Explorer in English", etc... As a result, the deployed JavaScript code is compact and quicker to download than if you coded if/then statements in JavaScript. Learn more
Did I misunderstand what GWT is about?

We need stable code which is sufficiently low-tech to not come to grief with changes in browsers.
Occasionally we'll have to produce updates to fix changes, but hopefully we can do this in small files.

David IB

No comments:

Post a Comment