TurboManage

David Chandler's Journal of Java Web and Mobile Development

  • David M. Chandler


    Web app developer since 1994 now working for Google and residing in Atlanta with the wife of my youth and our five children. My current side project is a not-for-profit startup using GWT on AppEngine. In my "spare" time, I take pictures, preferably of Rocky Mountain National Park.

  • Subscribe

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 134 other followers

  • Sleepless Nights…

    May 2012
    S M T W T F S
    « Apr    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Blog Stats

    • 344,154 hits

MVP

Model-View-Presenter

To get the most out of my posts in the Model-View-Presenter category here, you’ll want to start with

The GWT MVP and related concepts I’m most excited about are:

  • Each view implements an interface defined in the presenter, which improves code organization and testability.
  • The event bus (GWT HandlerManager) allows views, widgets, and services to collaborate in a highly decoupled fashion. The ability to create custom Events and EventHandlers in GWT 1.6+ is extremely powerful.
  • The notion of a PlaceRequest as implemented by gwt-presenter simplifies navigation and browser history management.
  • The Command pattern as implemented by a dispatcher service in gwt-dispatch cleanly enables features like undo and provides a hook to easily pass a security token and other parameters with every service request.
 
Follow

Get every new post delivered to your Inbox.

Join 134 other followers