zerofiny
V2EX  ›  问与答

关于各语言配置文件的问题?

  •  
  •   zerofiny · Jun 14, 2017 · 1922 views
    This topic created in 3340 days ago, the information mentioned may be changed or developed.
    请问目前各类开发语言 配置文件系统用 通用的 ini yaml 还是用 php 写数组, 写 xml 呢? 目前公司 php 程序配置都是写在 php 文件的数组里面,运维特别不友好, 很容易修改错误。 请各位大神帮忙解答下。 先感谢各位老铁了。
    6 replies    2017-06-15 10:49:51 +08:00
    Kilerd
        1
    Kilerd  
       Jun 14, 2017   ❤️ 2
    不负责任推荐 toml
    orderc
        2
    orderc  
       Jun 14, 2017 via iPhone   ❤️ 2
    yaml
    billlee
        3
    billlee  
       Jun 14, 2017   ❤️ 1
    yaml
    enzo113
        4
    enzo113  
       Jun 14, 2017   ❤️ 1
    为什么不试试可爱的 HOCON 呢? https://github.com/typesafehub/config
    leopku
        5
    leopku  
       Jun 15, 2017   ❤️ 1
    新项目 toml +1
    zerofiny
        6
    zerofiny  
    OP
       Jun 15, 2017
    感谢各位
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:50 · PVG 22:50 · LAX 07:50 · JFK 10:50
    ♥ Do have faith in what you're doing.