origin for #2
CFML Language Reference
Chapter 4 : ColdFusion Expressions: Operands, Operators and Other
Constructs
states
Although you aren't required to use the prefix unless two variables in
different scopes have the same name, for readability and processing speed,
it is recommended that you use prefixes. For example, the variable
"Form.lastname" is far more self-evident than a variable called "lastname."
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 10:28 AM
To: CF-Talk
Subject: Re: Documentation and numbers to back up best practices?
1. From Allaire dealing with memory variable overflows.
2. Best practice based on the order of evaluation of variables. Origin
unknown
3. Best practice from the SQL days that predate CF.
4. An article I wrote in Fusion Authority a while back (issue 8?). If you
look on www.houseoffusion.com in the Michael's Articles link you'll see it
in there.
At 11:09 AM 8/6/01, you wrote:
>Partly out of curiousity and partly out of need, I'm wondering whether
>anyone has any "ammunition" for discussions about best practices. For
>example, things like:
>
>1. lock shared variables
>2. prefix variables with a scope
>3. select only columns you need instead of select *
>4. cfscript is faster than multiple <cfset> statements when there's more
>than 3
>etc.
>
>Granted, these are not hard and fast rules (except #1), but everyone seems
>to accept them as the best or proper way to do things. I hear many (and I
>do this as well) use the phrase, "according to Allaire...".
>
>Does anyone have any references that back things like this up? From
>Allaire, from personal experimentation, etc.? I'm looking for somewhat
>official information as opposed to "I tried this once and...". The kind of
>stuff you could bring into a meeting and hand out and people would accept,
>you know?
>
>TIA for anything you can offer.
>
>Evan
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists