We propose to move Zend.php to <zf-home>/library/Zend/Zend.php. The
class name would continue to be 'Zend', and we're not suggesting
changing any methods within the class. Therefore no usage of this
class
would change.
The disadvantage is that it does not follow the ZF convention that
class
names always match the physical location of the class file. But
this is
the only class that needs to be an exception to this convention.
Although I'd be happy for Zend.php to move inside Zend/ I would
prefer that it does follow the convention. However to take it a
little further I have previously questioned the relevance of Zend.php
as the framework developed and therefore agree with Rob and Ralph
here...
1) Zend class is very schizophrenic when it comes to its duty.
a) it does loading of things which are possibly better suited
for a Zend_Loader
b) it does registry tasks that could better be implemented as
static get/set/has/remove methods of Zend_Registry.
c) it does dumping which would better exist inside Zend_Debug
d) it has an exception method that has no business there anymore
Separate issue to the one Bill is talking about. Having said that, I
agree :) A close look at the contents of the Zend class before 1.0
would
be very wise as we'll have to live with its API after then. The things
that the Zend class is responsible for seems to have no logical basis
other than it was a place to put the code until the idea behind it
could
be fleshed out.
Nick