DAO Configuration: Configurable Vs Hard-Coded Values
DAOs can be configured with environment variables or hardcoded values. Configurable values introduce maintenance & consistency issues. Only create them when necessary.
Glossary DAO - Data access object Case study Once upon a time, there was a process within a monolithic enterprise system. Its purpose was to receive product codes from external API, query the database, and send product data to another external API. PlantUML Text @startuml Example Process skinparam componentStyle rectangle database "Product Table" rectangle "Process" { [Admin UI] [Service] [DAO] } [Admin UI] --> Service: clicks to run [API 1] -> [Service] : product\ncodes [Service] -> [API 2] : products [Service] -> [DAO] : product\ncodes [Service] <-- [DAO] : products...