Last active
August 29, 2015 14:15
-
-
Save revskill/08d4c237e990739e8d49 to your computer and use it in GitHub Desktop.
VIPER
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
View: | |
- Show the content received from Presenter | |
- Notifies user's action to Presenter | |
- Presenter doesn't know anything about UI | |
Presenter: | |
- Include logic to format the view | |
- Gets data from Interactor | |
- Receive action from View and traduce to Navigation Action (Wireframe) and Interactor request | |
Interactor: | |
- Associated to a uniq use case of the application | |
- Works with PONSO entities | |
- Coordinates both data manager (API and local) | |
DataManager: | |
- Provider of entities for Interactor | |
- Responsible for persistence (web and local) | |
- The entities don't know how to persist themselves | |
Wireframe: | |
- Initialize VIPER module | |
- It knows how to navigate | |
- Delegate of transition animations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment