PHP applications come in many shapes and sizes. Some used locally from command line, and more commonly, for web based applications. More often than not, regardless of size or type, some form of configuration variables will be stored for global access. Usually these configuration options are held in one of these four types of containers.
* ini file
* XML file
* PHP file
* Database
Each options has its pros and cons. Here each of these options is explored to see which method is right for your application.
For more details head over at http://www.phpro.org/articles/Application-Configuration.html
No comments:
Post a Comment