Chapter 5: Exploring the Nature of Driving and Driven Operations
We spent the previous chapters analyzing the elements comprising each hexagon in the hexagonal architecture. We learned about entities, value objects, and business rules, and how to arrange them in the Domain hexagon to create a meaningful domain model. Next, when dealing with the Application hexagon, we learned how to utilize use cases and ports to create fully-fledged software features on top of the domain model. Finally, we learned how to create adapters to integrate the hexagonal application features with different technologies.
To better comprehend a hexagonal system, we also need to be aware of its surroundings. That's why in this chapter, we explore the nature of driving and driven operations, as they represent the external elements interacting with the hexagonal application. On the driving side, we'll see how frontend applications act as primary actors, driving the behavior of a hexagonal system....