Basic Module Naming Conventions

In both Java and C#, the names of Modules reflect a hierarchical form.1 Each level in the hierarchy is separated by a dot/period. The name hierarchy generally begins with the name of the organization that produced it, composed with its Internet domain name. When the Internet domain name is used, it typically starts with the top-level domain, followed by the organizational domain name:

1. There will be some differences between Java packages and C# namespaces. If you’re developing with C#, for example, you can still use this as guidance, but you’ll want to adapt it to make sense for your specific programming language and platform.

com.saasovation // Java SaaSOvation // C#

Using unique top-level names prevents ...

Get Implementing Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.