A popular variation to this good advice is:
Org.Domain.System.Type
Where:
Org = organisation acronym
Domain = business domain acronym
System = grouping for everything relating to a specific system
Type = Adapter, Service, Process, Message, Record, Utility, etc.
This helps when the solution is system-focused, because it keeps all classes related to a given system close together. That can make the codebase easier to navigate, package, deploy, and reason about. Domain also helps if you are deploying domains to different productions / namespaces.
- Log in to post comments
.png)