[TYPO3-50-general] File name conventions for classes and interfaces

Ingo Renner typo3 at ingo-renner.com
Tue Dec 12 03:04:36 CET 2006


Joerg Schoppet wrote:

Hi Joerg,

> I see what you mean, but I have to go with Martin. If you follow this 
> syntax, you have in the near future potential names, which are very long.
> Another problem with this syntax is, what will be the name if a class 
> implements two or more interfaces?

The name of an implemented interface shouldn't appear in the file name 
unless it is the very general implementation of an interface and what's 
more important is that the name needs to fit the class' purpose
Right now I can't think of an example where that wouldn't be the case 
though...


> I would not say, that it is necessary to get the complete inheritance 
> and interface structure out of the class-/interface-/file-name.

Agreed! The file's name should only reflect the class's name, nothing 
more, nothing less.


Ingo


More information about the TYPO3-project-5_0-general mailing list