MVP - Model View Presenter - GWT Tutorial (Google Web Toolkit)

Published on Thursday, July 25, 2013

Description

Model View Presenter (aka MVP) is a design pattern that attempts to decouple the logic of a component from its presentation. This is similar to the popular MVC (model view controller) design pattern, but has some fundamentally different goals. The benefits of MVP include more testable code, more reusable code, and a decoupled development environment. One way that different components (presenters) can communicate with each other throughout the application is by using an event bus. In short, the event bus is a mechanism that allows components to register for certain events, being notified when such an event is fired, as well as notifying events with the event bus itself, so that anyone listening for those events can be told about it. Some links of interest about GWT MVP: http://www.gwtproject.org/articles/mvp-architecture.html http://www.gwtproject.org/articles/mvp-architecture-2.html Copyright (c) 2013 Rodrigo Silveira http://www.easylearntutorial.com

Copyright © 2014-2017 EasyLearnTutorial. All rights reserved.