项目作者: generic-leo

项目描述 :
VIPER Architecture on Android: My POV
高级语言: Java
项目地址: git://github.com/generic-leo/Architecture2018.git
创建时间: 2018-02-11T15:48:27Z
项目社区:https://github.com/generic-leo/Architecture2018

开源协议:

下载


Architecture2018 - VIPER Architecture on Android: My POV

Why VIPER ?

A Clean Architecture for iOS Application Development. There are android architecture like MVP & MVVM but they make the presenter heavy with a lot of code.

What does a VIPER architecture promotes ?

Separation of Business Logic from the presenter making it easy to port to any application such as even to a console application.

My Approach for using this Architecture :-

Idea : App has two screens, login authentication using Firebase Authentication and listing of items from Firebase DB.




Outline of layers inner modules



Firebase DB Structure :

  1. {
  2. "architectures" : {
  3. "mvp" : {
  4. "message" : "Model View Presenter",
  5. "title" : "MVP"
  6. },
  7. "mvp_clean" : {
  8. "message" : "Model View Presenter Clean Architecture",
  9. "title" : "MVP CLEAN"
  10. },
  11. "mvvm" : {
  12. "message" : "Model View ViewModel",
  13. "title" : "MVVM"
  14. },
  15. "viper" : {
  16. "message" : "VIPER",
  17. "title" : "VIPER"
  18. }
  19. }
  20. }

Firebase Auth is Email Authentication

@prathamsawant/viper-architecture-on-android-my-pov-df37bebf3f3c">Complete Article on Medium

Note : This project isn’t complete, it is there to represent a approach of using Viper on Android.