After completing this chapter, you will be able to:
Understand Domain-Driven Design techniques.
Create a validation mechanism for the Domain Model.
Create a sample Domain Model.
The key role of software is to solve problems and fulfill requirements. Of course, this can be accomplished in different ways. One way is by using Domain-Driven Design (DDD). With DDD, you try to solve the business problems that characterize the Domain Model by creating a set of Domain Entities that represent the various business parts of the application.
Using the DDD technique, you write an application that has a firm foundation, based on an object-oriented approach. You develop the code around the business entities ...