[TYPO3-ect] beta lib: Naming conventions

Steffen Kamper steffen at sk-typo3.de
Thu Aug 16 10:04:40 CEST 2007


Hi,

same opinion, no PEAR-shorts, longer names are better to understand and it's 
TYPO3-style.

vg Steffen

"Joerg Schoppet" <joerg at schoppet.de> schrieb im Newsbeitrag 
news:mailman.1.1187244655.8492.typo3-team-extension-coordination at lists.netfielders.de...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Elmar Hinz wrote:
>
>> We can't fully use   V5  coding style, for example because of the tx_
>> prefix. But we could try to implement some aspects. I.e. classnames are
>> written ucfirst. Something like this would IMHO work in V4:
>>
>>        class tx_Extension_Plus_Minus {}
>>
>> instead of
>>
>>        class tx_extension_plus_minus {}
>>
>> Opinions? Additions?
>
> Hi,
>
> I would prefer the following:
>
> tx - always lowercase
> extension - always lowercase
>
> Then everything UpperCamelCase e.g.:
> class tx_extension_Plus_Minus {}
>
> Joerg
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGw+puq5Me6rRDqPURAtgZAJ95S67CKEiqb5VhCBZXQ4iBMOvgtACgj/fY
> 64onNrp7tMnHYbNXHUeiCzE=
> =JdZ+
> -----END PGP SIGNATURE----- 




More information about the TYPO3-team-extension-coordination mailing list