clean manager gdg ciudad del este architecture en rodrigo ... mvp clean … · rodrigo garcete,...
Post on 08-Jul-2020
1 Views
Preview:
TRANSCRIPT
Clean Architecture en Android
Rodrigo Garcete, Software DeveloperManager GDG Ciudad del Este
Agenda
Objectives
CLEAN..?
SOLID Principles
MVP
Entities, Use Case and Interactors
Repository Patterns
Libraries
Show me code
Objectives
● Independents of the framework
● Testable● Independent of UI● Independent of Database● Independent of any
external agency
CLEAN
CLEAN
El creador de este concepto es Robert C. Martin (Uncle Bob)
CLEAN LAYERS
UIDOMAINDATA
SOLID PRINCIPLES
Single Responsibility
Open/Closed
Liskov substitution
Interface segregation
Dependency Inversion
MVP
ModelViewPresenter
DOMAIN
EntitiesUse CasesInteractors
DATA
PreferencesDBAPIs
LibrariesButterknife - UI Injection
Dagger2
Retrofit2 RxJava
CLEAN with RxJava
LibrariesDatabase
● Realm.io● DFlow
Libraries for Test
JUnit + MockitoEspressoRoboelectric
Show me code
ReferencesRodrigo Garcete
github: @rorogarcete
https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html
https://github.com/android10/Android-CleanArchitecture
https://erikcaffrey.github.io/ANDROID-clean-architecture/
http://www.kiliancerdan.com/clean-architecture/
http://five.agency/android-architecture-part-1-every-new-beginning-is-hard/
top related