Once you have developed the server-side or your iPhone Web application you are ready to develop the client-side.
GWT offers you a wide set of Wigdets, which are graphical components already coded. These components can be extended allowing the developer to implement more functionality as well as reusability (these Widgets can be stored in a library for a later use). Check out this gallery and you will find almost all components you may need.
The Widgets are inserted in the Root Panel, which is the base element of every page. Moreover, widgets can be inserted in other widgets (Composite Widgets) greatly improving the developing flexibility.
Apart from this development flexibility, the Widget architecture holds an interesting property: Widget style. All good piece of software should split as much as possible the graphic design from the logic layer. You can meet this requirement by using the style propety, dugg in every Widget object, and code of the client-side without concerning about colors, fonts, sizes,….
By using this, all of the design issues are holded within an CSS page. The only requirement is to set an style name for each Widget (sometimes you don’t even have to do this, because the target Widget may have a default style name assigned).
Finally, its important to follow some design requirements which are iPhone-oriented. Check them out at:
- Designing content for the iPhone. Hosted at the Apple’s iPhone Dev Center (you may require register but it is free).
November 16th, 2007 at 2:30 pm
[...] post: GWT+ iPhone client development. [...]