Ya, sorry, my mistake[too much use of __autoload :)]

Shekar C Reddy wrote:
Hi Tautvydas,
You are confusing Stanislav with the mis-typed file-names: Zend/Filter.php => Zend/Filter/Filter.php [not: Zend_Filter.php, Zend_Filter is the name of the class]
Zend/Filter/Filter/Alnum.php [no change, couse it is same package]
Zend/Filter/Filter/Alpha.php [no change, couse it is same package]
Zend/Filter/Filter/Digits.php [no change, couse it is same package]

On 2/27/07, *Tautvydas Andrikys* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Stanislav Malyshev wrote:
    >> Now every package has its own directory and one file in parent
    >> directory, so i offer to move all files to package directory:
    >> Zend/Zend_Filter.php => Zend/Filter/Zend_Filter.php
    >> Zend/Filter/Zend_Filter_Alnum.php [no change, couse it is same
    package]
    >> Zend/Filter/Zend_Filter_Alpha.php [no change, couse it is same
    package]
    >> Zend/Filter/Zend_Filter_Digits.php [no change, couse it is same
    package]
    >
    > 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

    > What good would it make?
    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
    package is in its own directory. This is solution to svn:externals
    too.

    > And how we know Zend and Filter get its own directory but Alpha
    does not?
    If Alpha would be in differenet package it would be moved to that
    package directory

    And yes it would require quite some work to refactor to this
    structure... so i dont think this will be implemented in ZF:(

    Tautvydas Andrikys aka esminis




--
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