Advantages over Hard-Coded Policies

There are several advantages of declaring policies at run time than hard coding policies into functional components.

Advantages of Declaring Policies at Run Time
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 reusing 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
  • Declarative policies are concise and based on standardized conventions, therefore they are easier to understand and verify than procedural code.
  • The declarative language of policies specifies the desired result, and the distribution engine delivers operational details of policies.
Flexibility
  • Declarative policies are easier to change than procedural code and respond quickly to changing business conditions.
  • Declarative policies can change quickly to bring the enterprise into compliance. Instead of waiting for code changes, the distribution engine immediately applies and enforces new or modified policies.