-- Andreas Möller <[email protected]> wrote
(on Thursday, 02 February 2012, 10:56 AM +0100):
> > Regardless other arguments, I do think it a valid advantage for
> > grouping files to use suffix for all, including Interface, Abstract
> > and future Trait. Hope Ralph can take this into account.
>
> Using suffixes also takes into account the naming style in ZF1 with PHP < 5.3:
>
> Foo_Bar_Baz_Abstract
> Foo_Bar_Baz_Interface
I think this is a red herring. The above doesn't map the same at all, as
in ZF1 we were able to group them in a directory together:
Foo/
Bar/
Baz/
Abstract.php
Interface.php
We can't do likewise in ZF2 as we can't have classes/interfaces named
"Abstract" or "Interface" -- and hence the need for new naming
conventions.
--
Matthew Weier O'Phinney
Project Lead | [email protected]
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]