Zend Developer Zone
Where the ElePHPants come to learn

Zend Developer Zone

Tag Archive: Zend_Config

Manipulating Configuration Data with Zend_Config

When building a Web application, you’ll often find it necessary to save and retrieve user-defined configuration values. Rather than rolling your own code, consider using Zend_Config, which offers a complete API to read and write configuration data in INI, XML and PHP array formats. In this article, I’ll give you a crash course in how Zend_Config works, and show you how you can integrate it into a PHP application.

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.