Advantages over Hard-Coded Policies
There are several advantages of declaring policies at run time than hard-coding policies into functional components.
Advantage | Description |
---|---|
Division of Labor | Development teams can focus on implementing functionality while management, administration, and operations teams focus on formulating and implementing policies. |
Leverage | Declarative policies generalize frequently used solutions into conventions (called policy templates). You gain leverage by using them many times. |
Concise specification | You can use declarative policies to configure policy templates with a small number of parameters, which modifies its behavior to a specific business situation. |
Comprehension |
|
Flexibility |
|