Domain Driven Design Naming Conventions
Domain driven design was first articulated by eric evans in 2003 in his seminal book domain driven design.
Domain driven design naming conventions. From the source domain driven design is not a technology or a methodology. 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. Use camel casing or lower case name. Following are the basic rules to be observed while choosing a domain name.
Also two hyphens together is usually not permitted and hyphens cannot appear. Naming conventions all events should be represented as verbs in the past tense as they re things that have been completed in the past for example customerrelocated cargoshipped selection from domain driven design in php book. You may like to extend the above pattern to add more fields like org names or domain or subdomain names if following ddd domain driven design like org names etc. It is a way of thinking and a set of priorities aimed at accelerating software projects that have to deal with complicated domains.
For whatever reason there may not be any consistency in how objects are named. You can also use hyphens but hyphens cannot begin or end a domain name. Domain driven design solves complex domain models connecting to the core business concepts. A software architectural template for applying clean domain driven design and cqrs to your own solutions.
Related to the above point is the naming of projects themselves. The name selection from implementing domain driven design book. Domains can contain the english language letters a through z and the digits 0 through 9. With different sections and layers exhibiting radically different coding and naming conventions as well as patterns and practices.
Eric evans introduced the concept in 2004 in his book domain driven design. The primary focus of the project is the core domain and domain logic. Mongodb collection naming. A good guideline is company solution layer bounded context or other detail.