Skip to main content

Naming convention

Find the standard naming convention for each platform:

KotlinSwiftPHPTypeScript
Domain
ModelBook
Entity
(data layer "model")
BookEntity
InteractorGetBooksInteractor
Data
Mapper:
Model → Entity
BookToBookEntityMapper
Mapper:
Entity → Model
BookEntityToBookMapper
DataSourceBookNetworkDataSource
RepositoryBookRepository
Dependency Injection(more)
ProviderApplicationProviderapp.provider.ts
ComponentApplicationComponentabstract AppProvider
ModuleApplicationDefaultModuleAppDefaultProvider + AppProviderModule (app.provider.module.ts)