Skip to content

Presentation-Abstraction-Control pattern #304

@npathai

Description

@npathai

Description:

The Presentation-Abstraction-Control (PAC) is a design pattern used in software architecture that focuses on the separation of concerns into three interconnected components:

  1. Presentation: Manages the user interface and user interactions.
  2. Abstraction: Encapsulates the business logic and data management.
  3. Control: Mediates the interaction between the presentation and abstraction layers.

Main Elements of the Pattern:

  • Presentation: Handles the graphical or textual representation of the application and the user inputs.
  • Abstraction: Contains the core functionality and business logic.
  • Control: Acts as an intermediary, coordinating the flow of data and commands between the presentation and abstraction layers.

References:

Acceptance Criteria:

  1. Implement a basic example of the PAC design pattern with clear separation between Presentation, Abstraction, and Control components.
  2. Ensure the code follows the project contribution guidelines as outlined in the Java Design Patterns Wiki.
  3. Provide comprehensive documentation and unit tests for the implemented pattern, demonstrating its functionality and interactions between components.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions