O'Reilly logo

Essential GWT: Building for the Web with Google Web Toolkit 2 by Federico Kereki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Programming the User Interface

Designing the User Interface (UI) of your application has serious implications for your whole system. Applying a right design pattern such as Model-View-Presenter (MVP) makes for highly testable, well-layered implementations. The minimalistic view programming we apply is further reduced by using UiBinder (a GWT 2 novelty), which enables you to create the view layer by using XML, with practically no Java code at all. In this chapter we’ll work at developing the UI, applying all the mentioned tools and methods.1

Thinking About UI Patterns

Earlier in the book we mentioned we’d be throwing some criticism at the standard GWT created “Hello World” type application. (You’ll remember it just has a name textbox and a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required