Application Layer

Welcome to BigLedger Knowledge Center!

Application Layer

  • Application Layer:

    • The Application Layer acts as a bridge between the Presentation and Domain Layers.

    • It orchestrates business logic, coordinating domain objects to execute specific tasks and implement use cases.

    • Key building blocks of the Application Layer include:

      • Application Services:

        • Application Services handle use cases and workflows by coordinating domain logic.

        • They don’t contain business rules but serve as orchestrators, making calls to domain services and entities.

      • Data Transfer Objects (DTOs):

        • DTOs are simple objects used to transfer data between layers.

        • They encapsulate data for requests and responses without exposing domain entities directly, ensuring loose coupling between layers.

      • Unit of Work:

        • The Unit of Work manages transactions by tracking changes to multiple entities and ensuring they are persisted together.

        • It ensures consistency by coordinating the commit or rollback of operations within a single transaction.

Related content

Powered by: Bigledger Sdn Bhd