Cross-cutting concerns
Cross Cutting Concerns
Concerns which are related to common functionality and required across system like logging, security, etc. Keep crosscutting concerns abstracted from the application business logic as far as possible. Mixing the code that implements these concerns with the business logic can lead to a design that is difficult to extend and maintain. Consider using frameworks and techniques such as Aspect Oriented Programming (AOP) or API Gateway that can help to manage cross-cutting concerns.