This week’s tip is going out to both Nomad PHP and Nomad Mage because the person who wrote the blog post is an active member of both communities.
Stephan Hochdörfer recently penned short blog post introducing an interesting concept that he and bitExpert are espousing. Forget XML (or YAML, or JSON, or any other markup language) store your config files in PHP code. This is an interesting concept to me. I’ve done this in the past but I’ve also used YAML and JSON. (I refuse to use XML for anything)
If you are curious, check out his blog post Why using code as DI config is a win! It doesn’t matter if you like the idea or not. All that matters is that you understand the idea before you decide. 🙂
Join the Word Wide Herd!
Each week we send a tip, trick, or new project to PHP developers around the world. Don’t be left out. Join the Nomad PHP mailing list today and be a part of the World Wide Herd.
* Fine print. We do not sell, rent, loan, or otherwise distribute your information to anyone, ever.