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

Joerg Schoppet joerg at schoppet.de
Mon Dec 11 10:35:42 CET 2006


Robert Lemke wrote:
> 
> Am 06.12.2006 um 14:47 schrieb Karsten Dambekalns:
>>>
>>> - Classes (e.g. HelloWorld) -> HelloWorld.php
>>> - Interfaces (e.g. IHelloWorld) -> IHelloWorld.php
>>> - Exceptions (e.g. HelloWorldException) -> HelloWorldException.php
> 
> Following the suggestion of my other post (using entity types) this 
> would transform to:
> 
> T3P_MyPackage_Greeter
> T3P_MyPackage_HelloWorldGreeter
> T3P_MyPackage_HelloWorldException
> 
> --robert
> http://typo3.org/gimmefive
> 
> 
Please see my other post, the beginning is OK "T3P_MyPackage_" but the 
naming of interfaces and implementations is not obvious in the long term 
(e.g. a class implements more than one interface).

Joerg


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