Naming Conventions


For all my developers to use

For any Revolution-based projects that we develop, here are the naming conventions that I want to use. I did not invent these. They came from an article written by Richard Gaskin on ::revJournal.

Custom Handlers

All of the built-in handlers have the first letter of the handler name in lower-case. For all custom handlers, capitalize the first letter of each word in the name of the handler; e.g., UpdateList.


Variable Names

Use the following conventions for the first name of each variable that you use. It is a simplification of Hungarian notation.


Char__________Meaning
g_____________global variable
t_____________temporary variable (used inside a handler)
s_____________script local variable
p_____________parameter
k_____________constant
u_____________user-defined (custom) property

Posted: Thu - September 16, 2004 at 10:49 PM        


©