Case studies and examples
As is easy to imagine, a complete and extensive example of DDD, TDD, BDD, and user story mapping, applied to our mobile payments case study, could easily take more than one book. For this reason, as we mentioned in Chapter 3, Common Architecture Design Techniques, unfortunately, we can only look at some highlights of those techniques used in our example. However, in this section, I think it is pretty useful to take a look at, even if to just practically visualize some concepts that might appear abstract so far.
The mobile payments domain model
In Chapter 3, Common Architecture Design Techniques, we looked at the basic modeling of mobile payment objects based on the UML notation. To elaborate more on this, in DDD, you will mostly have the following concepts:
- The user is an entity. This concept is pretty straightforward, that is, the identity is very well defined, and each user has a well-defined life cycle (from registration to deletion). ...