Configuration
Static Configuration V.S Dynamic Configuration
- Static Configuration
-
以 YAML 或 JSON 為主的設定檔
- YAML:
--- receipt: Oz-Ware Purchase Invoice date: 2012-08-06 customer: given: Dorothy family: Gale - JSON
{ "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "10021" }
- YAML:
-
需要跟 source code 結合
-
需要 re-deploy 應用才能更新設定
-
- Dynamic Configuration
- UI 介面去控制設定
- 需要去實作此 feature
參考資料 👐
🍀 若喜歡我的分享,可以幫我拍拍手👏,是對我最大的鼓勵