I've always advocated GLOBALS were fine...I've seriously never experienced a problem with them, maybe through diligence and discipline or possibly through pure luck or maybe just never noticed a bug caused by GLOBALS...
Regardless, the verdict is in...most people prefer to use OOP to encapsulate their global data, using a registry, etc...
So I have decided to switch my ways...besides...I can see the benefits using a registry would offer, I just never changed that part of my development because until latelyrecently...I never programmed on multiple developer projects...
So...
I ask, but again...
What technique do you use to store GLOBAL data or config data???
Do you store your configs in a XML file and load that data into a class, etc...
If you can *find* any of the previous disscussions and care to share those...that would be awesome too...I can't find any...