Why use Zend_Config?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
haosmark
Forum Newbie
Posts: 10
Joined: Wed Mar 19, 2008 12:10 pm

Why use Zend_Config?

Post by haosmark »

I don't get what makes Zend config better than a bunch of static variables in a file, can anyone explain please :?:

Thanks.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Why use Zend_Config?

Post by Christopher »

I guess what makes any config system better than a bunch of static variables in a file. Data source independence; multiple configurations; injectable object rather than globals; etc. etc.
(#10850)
Post Reply