Aspects


vs


Home Page
About Us

Factories

Factory is a pattern used mainly for testing purposes which uses code rather than fake data as in fixtures to help the population of objects.

Presenter

In MVP pattern the presenter acts upon the model and the view



Others

Example

Which is basically the same thing as the factories then depend on sub-factories but at least they are lighter than presenter views services and they don t need to load the sub-factories until they are needed

from question  

Dependency Injection avoid loading everything at startup

A presenter is better to accept some kind of a view factories or a supplier in general as we can already hold an existing view especially in a gwt case and let the presenter decide when instantiate or accept the view

from question  

MVP Pattern in GWT: How to initialize Model/View and handle server requests in the Presenter?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0