Dan Tech Academy
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?

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: Module Dependencies
  3. 03Part 2: Errors Are Classified In :data, Once
  4. 04Part 3: An Abstraction Only Exposes What's Essential
  5. 05Part 4: Why Repository, Service Or Manager?
  6. 06Part 5: A Contract Lives With Its Consumer
  7. 07Code Reading Path
  8. 08Bad Smells
  9. 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
Sign in