TurboManage

David Chandler's Journal of Java Web and Mobile Development

  • David M. Chandler


    Web app developer since 1994 and former Developer Advocate with Google now residing in Colorado. Besides tech, I enjoy landscape photography and share my work at ColoradoPhoto.gallery.

  • Subscribe

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

    Join 241 other followers

  • Sleepless Nights…

    December 2017
    S M T W T F S
    « May    
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  
  • Blog Stats

    • 883,699 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.
Advertisements