After this lesson you will
- Choose between repository, service and manager by their real role
- What happens if you put everything into 1 file
- Read DomainResult and DomainFailure and know that errors are classified once in :data
Duration12 min
DifficultyIntermediate
Domain vs Data: Where Does Logic Belong?
Why does the data side of one feature need 4 files across 2 different modules?
- 01Lesson Goal
- 02Part 1: Module Dependencies
- 03Part 2: Errors Are Classified In :data, Once
- 04Part 3: An Abstraction Only Exposes What's Essential
- 05Part 4: Why Repository, Service Or Manager?
- 06Part 5: A Contract Lives With Its Consumer
- 07Code Reading Path
- 08Bad Smells
- 09Key Takeaways
Topics: mobile-action-pro, clean-architecture
9 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: Module Dependencies, … — plus 114 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in