阅读背景:

我应该在PHP应用程序中使用YAML for Config Files吗?

来源:互联网 

I'm currently writing my own PHP Framework (for kicks, not for mission critical stuff) and I'm trying to add in functionality where the user can set up what databases the framework should use (a primary db and then maybe one or two fallbacks - like sqlite), where certain files are located, etc. Should I use YAML for this? Is there a better approach or a standard practice?I'm currently writing my own PHP Framework (for




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: