Archive for the 'Zend Framework' Category

Using ZEND_Config Part 2

November 6, 2007

Last Time
At the end of the last discussion on Zend_Config, I mentioned how it would be interesting to leverage the code already existing in Zend_Confing, instead of reinventing the wheel. Our main issue was how to use defined PHP constants in an ini file (or in an xml file).
View a better formatted [...]

Using Zend_Config

November 5, 2007

There is a Zend Framework class to help in configuring your application. You can use it to save and retrieve configuration data. It’s called Zend_Config . For examples on how to use it see http://framework.zend.com/manual/en/zend.config.html.
It allows you to use an ‘.ini’ or an xml file to load your configuration settings. You can then access [...]