Here's what I use:
qry = Query
str = Structure
arr = Array
wddx = WDDX (duh)
lst = List
int = Intiger
I also have some I use to help my identify my form field types.
frm = Form
txt = Text and Textarea boxes
rad = Radio buttons
ddlb = List boxes
chk = Check boxes
sel = Select box
hdn = Hidden form fields
With these, I can pretty much just skim through my code an know what is
supposed to be doing what and what is supposed to have what attributes. I
haven't really had a need for anything more detailed as of yet.
Todd Ashworth
----- Original Message -----
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 11, 2000 3:19 PM
Subject: RE: CF flavor of Hungarian?
| There isn't a CF version of Hungarian notation of which I'm aware.
|
| I'd guess that the reason for this is CF's very loosely typed variables;
| it's not quite as important to associate a variable with a specific data
| type. This was especially true in earlier versions of CF, where you pretty
| much just had strings.
|
| Now that CF is a bit more complex, though, it's more useful to use
| type-specific variable names. Allaire has a basic standard for variable
| naming, which they use in their training materials and within Spectra
code:
|
| q: Query
| a: Array
| st: Structure
| l: List (although, of course, any string can be treated as a list)
| r: Return code
| r_: Return code result
| w: WDDX packet
| b: Boolean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists