MelvinCou / cash-manager

0 stars 0 forks source link

terminal architecture choice #49

Closed MansourWolou closed 9 months ago

MansourWolou commented 9 months ago

Currently the project use Clean architechture on the terminal. Although this architecture has good advantage , it is more complex than a classic MVVM useed in a lot of mobile apps.

Lets make a benchmark between them

clean MVVM
complexe difficulty to implement medium difficulty to implement ( reactive programming and data binding can be difficult )
used for very big and complexe project used for medium size project
can use any state manager perfect for Bloc , the state manager we are going to use
separation of concern , maintenability , testablility seperation of model , viewModel and view
easy replacement of componenet  

In addition , Bloc state manager is more MVVM and MVI oriented. The folowing ressources are origin to the reflexion :