> Can you please point us to an example describing this best practice?
For example Namespace Naming Guidelines in .NET
(http://msdn.microsoft.com/en-us/library/893ke618(VS.71).aspx)
"A nested namespace should have a dependency on types in the containing
namespace. For example, the classes in the System.Web.UI.Design depend
on the classes in System.Web.UI. However, the classes in System.Web.UI
do not depend on the classes in System.Web.UI.Design."
Or Zend Framework source code. There is no class extending class from
subpackage (class Zend_View extends Zend_View_Abstract is not
subpackage, viz
http://framework.zend.com/wiki/display/ZFPROP/Naming+conventions+for+2.0+-+Matthew+Ratzloff).
*
> *In PHP nothing bubbles, hence this doesn't work. We have just one
exception to this, with global functions in local space which "bubble
up" to global even without the prefix (which I believe will come to bite
us later on).
*
*I understand but I think it doesn't matter. PHP has not qualified
identifiers yet, so any qualified identifier can be understand as and
only as fully qualified identifier (ie "absolute path"), like former
namespace implementation does, and not like "relative path".
David Grudl