Hi!
I strongly believe "using globals in php creates problems" is a MYTH. This myth creted by programmers who has strong c and c++ backgrounds.
Of course almost no programming technique would create problems just because of it being used - only because of it being used wrong. Some people prefer their globals to be isolated in easily recognized components with defined ways of behavior and recommended practices, others have enough time and discipline in the team to do it via other means, like namespacing GLOBALS manually. There's no problem in that if you do it methodically in an organized way.
I was much faster and pratic than any oo way..
It is not "much" faster, it might be only marginally faster unless your application does nothing but access globals all day long. Compared to real work done by any common application accessing globals represents so tiny part of the execution cycle that small performance loss caused by using some pattern would have no visible effect. It all boils down to how you like your code to look like and be organised. People have different styles, some like OO, some do not.
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED]
