Posts Tagged ini
Zend Config tree solution
Posted by Muhammad in Programming, Web on June 19th, 2010
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.
Read the rest of this entry »

My name is Muhammad Hussein Fattahizadeh. I have 24 years old. I study information technlogy engineering in Payam Noor University of Iran.