Skip to main content
8 events
when toggle format what by license comment
Dec 5, 2024 at 15:37 comment added Filip Milovanović Also, note that in CA terminology, "entities" are not ORM entities - they are not plain data structures that model the database, but correspond to objects that have behaviors, and that capture the core business logic (Martin describes things in OO terms, but if the approach is more functional or procedural, then they would correspond to the functions implementing the business logic, plus the associated core data structures / types those functions are tied to). When he says the interactor controls the "dance of the entities", it means something like "it orchestrates the business logic code".
Dec 5, 2024 at 15:26 comment added Filip Milovanović Don't focus as much on the specific classes in this diagram - this is how CA might look like when implemented, but in principle, the classes and the details of the design here could be completely different, and it would still be Clean Architecture as long as the principles are followed. Instead, focus more on the roles the elements play, and how they contribute to the design - e.g., the interfaces provided and used by the report generator are all "owned" by the generator, and bundled together in the interactor, which allows for dependency inversion, in service of the dependency rule.
Dec 4, 2024 at 21:14 answer added candied_orange timeline score: 0
Dec 4, 2024 at 18:38 history edited candied_orange CC BY-SA 4.0
deleted 13 characters in body
Dec 4, 2024 at 13:56 vote accept Tozine
Dec 4, 2024 at 13:26 answer added mtj timeline score: 2
S Dec 4, 2024 at 11:56 review First questions
Dec 4, 2024 at 12:06
S Dec 4, 2024 at 11:56 history asked Tozine CC BY-SA 4.0