Im doing a little experiment. In the old days, most people saved configuration files in a php file as a bunch of constants or a class with the loooot attribute. Now we see projects like symfony using yaml or something else. My question is:
If you can choose one of three ways to store your configuration files: xml, yaml or php files, which would you choose? Most important: why?
thanks for the help
For me, it depends on who will touch this configuration.
If they are developers, then PHP files are best, since they do not require additional analysis.
(, sysadmins), : , XML YAML, PHP-, - ( , ). PHP ( , - , , !).
... , -, . , ( db).
Source: https://habr.com/ru/post/1772988/More articles:When is MS Access better than a web application supported by RDBMS? - ms-accessHow to contact android ril daemon directly - androidget current page in c # - c #Why are PHP errors related? - phpОшибка Python: встроенная функция или объект метода не имеет атрибута 'StringIO' - pythonC # check domain live - c #404 Custom Action in Rails - ruby | fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1772991/converting-a-4-byte-ip-address-to-standard-dotted-decimal-notation&usg=ALkJrhhQM8c0K33NkLsJ3fEJ_oVwA9CfNwHow can I pass values from querystring to javascript? - javascriptJQuery element coordinates - jqueryAll Articles