Entities Use Cases Controllers Gateways Presenters Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Entities Use Cases Controllers Gateways Presenters Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Use Cases Controllers Gateways Presenters Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Controllers Gateways Presenters Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Title (goal) Primary Actor: … Scope: … Level: … (Story): the body of the use case is simply a paragraph or two of text, informally describing what happens.
Retrieve story details Primary Actor: Reader Scope: A Hacker News client Level: User goal The reader invokes the client to retrieve the details for a story. This includes the children of a story, namely the comments.
Entities Use Cases Controllers Gateways Presenters Devices Web DB UI External Interfaces Enterprise Business Rules Application Business Rules Interface Adapters Frameworks & Drivers Presenter Controller Use Case Input Port Use Case Interactor Use Case Output Port Flow of Control
Use Cases • Contain application specific business rules • Orchestrate the flow of data to and from entities • Unaffected by external systems like database or UI