Chapter 1. Functional domain modeling: an introduction
This chapter covers
- Domain models and domain-driven design
- Benefits of functional and pure domain models
- Reactive modeling for increased responsiveness
- How functional meets reactive
Suppose you’re using the portal of a large online retail store to make purchases. After entering all the items, the shopping cart fails to register your purchases. How does that make you feel? Or say you do a price check on an item a week before Christmas, and the response comes back after an inordinate delay; do you like this shopping experience? In both cases, the applications weren’t responsive. The first case depicts a lack of responsiveness to failure—your whole shopping cart went down because a back-end ...