Variables, class names, and functions should all be given names that are meaningful in that they indicate something about the data or task they represent.
Variables and functions should be named using lowerCamelCase. Once exception to this is the use of one character variable names, which should be limited to use in loops as looping variables.
Class names should be descriptive of their functionality and should be named using UpperCamelCase. Variables and functions within a class should follow the convention for naming functions as described above.
There are some frameworks in use that deviate from this convention. These are currently being reviewed to see if they can add to the above convention or should be noted as an exception.
Constant variables should be named something descriptive of their purpose and/or representation and should be all uppercase letters. Within classes, constants may also have a three-letter lowercase prefix followed by an underscore.1)