Google Web Toolkit Solutions
Author: David Geary, Rob Gordon
Publisher: Prentice Hall
Pub. year: November 2007
Pages: 408
GWT is not just about building Ajax-enabled web applications. It’s about building desktop-like applications that run in a browser. In this book, Rob and I show you how to implement an application that lets you open multiple windows inside your browser, where each window contains a map of an address you supply to the Yahoo! Maps web service. You can drag the windows around inside the browser, resize the windows, and drag the maps around inside their windows. Not only that, but you can zoom in and out of the maps by manipulating a GWT widget that floats above the map inside the window. You can also initiate animated scrolling, very similar to Apple’s animated scrolling of contact lists on the iPhone, by quickly dragging a map. When you drag the map for less than half a second, the application initiates animated scrolling of the map in the direction of the drag and at a speed relative to the amount of pixels the drag covered. That sort of functionality is simply not possible in other web application frameworks such as Struts—and yes, even Ruby on Rails—without writing a good deal of JavaScript code and integrating it into the framework.
So, GWT differentiates itself from other web application frameworks by providing support for desktop-like applications that run in a browser. It’s a mistake to think of GWT as simply a web application framework with Ajax baked in. GWT, like Flash or Flex, empowers developers to implement all of the rich features you would find in a desktop application.
This book is not an introduction to GWT. If you are not familiar with GWT, we cover some basics in the first solution, but from then on out, we leave the basics behind and dive into the good stuff. We assume that you can get the basics from the web, or from other books that cover such banal ground. We want to show you the cool stuff and teach you how to kick ass with GWT. So turn that page, and let’s commence with the asskicking
Size: 9.9 MB
Download: Ziddu OR Rapidshare
Label: application, programming, web