Keep data and logic separate, data-driven development.
Adhere to the "standardized data interface specification" and use pipeline-functions to manipulate data from the initial state to the final state.
Pipeline-functions conforming to standardized data interfaces are easy to change, replace, and insert extensions.
In the web model, It can be easily replaced as long as the components that conform to the http data specification. For example, Clojure web application model:
- product standard (data interface): the req-map and resp-map of the ring
- warehouse: the ring
- workshop: the pipe functions on both sides of the C/S, and Raw materials (hash-map) are transferred to each other through warehouses through interactions.
Keep data and logic separate, data-driven development.
Adhere to the "standardized data interface specification" and use pipeline-functions to manipulate data from the initial state to the final state.
Pipeline-functions conforming to standardized data interfaces are easy to change, replace, and insert extensions.
In the web model, It can be easily replaced as long as the components that conform to the http data specification. For example, Clojure web application model:
- product standard (data interface): the req-map and resp-map of the ring
- warehouse: the ring
- workshop: the pipe functions on both sides of the C/S, and Raw materials (hash-map) are transferred to each other through warehouses through interactions.
https://github.com/linpengcheng/PurefunctionPipelineDataflow