Hi All,
On 26/02/2007, at 8:58 PM, Ralf Eggert wrote:
I personally think that the proposed renaming of the Zend class to
Zend_Framework is very misleading. I would expect that a
Zend_Framework
class will set up the whole framework and not be just a funny
conglomeration of methods who did not find their way to a proper
component.
Here are my suggestions:
- move Zend::register(), Zend::registry(), Zend::isRegistered(),
Zend::initRegistry() and Zend::__unsetRegistry() to Zend_Registry
- drop Zend::exception() and Zend::loadInterface()
- move Zend::loadClass(), Zend::loadFile() and Zend::isReadable() to
a new Zend_Loader class
- as suggested by others, move Zend::dump() to Zend_Debug
- the only method I am not sure about yet is Zend::compareVersion()
but
I bet we will find a solution for this as well
I think that these suggestions are good. (and I must incidentally put my
support keeping the convention, rather than breaking it.)
Perhaps Zend::compareVersion would be best to put into a Zend_Framework
class as it seems to be a logical framework type function.
Like others I would also suggest to implement these changes before the
0.9.0 beta release gets launched.
The sooner these changes can be made the better.
Andrew