[TYPO3-ect] beta lib: Naming conventions

Joerg Schoppet joerg at schoppet.de
Thu Aug 16 08:10:54 CEST 2007


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