Stanislav Malyshev wrote:
why we need to repeat Zend_Filter twice?
Zend_Filter would not be repeated twice. Zend/Zend_Filter.php would be moved to Zend/Filter/Zend_Filter.php

I clearly see Zend and Filter repeated twice right in front of me. Do you?
oh u mean file name repeat :) i dont think this is a great problem.
And the filename would be: Zend/Filter/Filter.php[my mistake in prev. letters]

Every package would be strictly separated. Now all packages are mixed up in Zend directory. And this solution is time tested in Java, where each

I don't really udnerstand what do you mean by "mixed up". They reside in Zend directory, because that's where framework is. It's intended to be so, what's the problem in it?
The problem is that in Zend/ directory there are a lot of php files:
Acl.php
Cache.php
Config.php
Date.php
Db.php
Exception.php
Feed.php
Filter.php
Gdata.php
Json.php
Locale.php
Log.php
Mail.php
Measure.php
Mime.php
Pdf.php
Registry.php
Session.php
Uri.php
View.php

It would be much better to move them to:
Acl/Acl.php
Cache/Cache.php
Config/Config.php
Date/Date.php
Db/Db.php
Exception/Exception.php
Feed/Feed.php
Filter/Filter.php
Gdata/Gdata.php
Json/Json.php
Locale/Locale.php
Log/Log.php
Mail/Mail.php
Measure/Measure.php
Mime/Mime.php
Pdf/Pdf.php
Registry/Registry.php
Session/Session.php
Uri/Uri.php
View/View.php

So this means that all package files would be in package directory. If u need only one package u take the package directory.

If Alpha would be in differenet package it would be moved to that package directory

How I know by its name if it's a package or not?

If file is in a directory - it is in package, and u know package name[directory name]

--
Pagarbiai,
Tautvydas Andrikys aka esminis <mailto:[EMAIL PROTECTED]>
www.esminis.lt <http://www.esminis.lt>
www.bajeriai.lt <http://www.bajeriai.lt>

Reply via email to