In this lesson, let’s talk about organizing code by “domain” with layers. Domain driven design is a project structure strategy that groups all code dealing with a similar app “domain” (think “feature”, “resource”, etc) together. For example, in a blog, comment components would be stored separately from post components but together with API endpoints for comments. Layers are a simple solution, for this design pattern.
Links