Zend Config tree solution

The best part of my favorite PHP framework, Zend framework is Zend_Config. With Zend Config you can run you web application with more power full configuration that any one can change your application setting for use.
Read more information about Zend Config at Zend framework manual for Zend Config.
But in most web application you may have many configuration file with special format such as INI, XML or PHP. Also some of configuration is for one part of your application and may you put in special folders.

*My Zend framework folder structure*
So this is my default Zend framework folder structure that you have see more configuration file.

*Default solution*
In default solution you need to define a Zend Config object for each file to access file data.
But with this solution you can globally access all files in any format in each folder.

To continue reading this article read “The symphony of information technology”:http://www.mhf.ir/web/zend-config-tree-solution/.