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 ...

Get Essential GWT: Building for the Web with Google Web Toolkit 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.