Ben Nadel Presentation About ClearCode Standards Projects For Chennai CFUG and Hyderabad CFUG, India
Yesterday, Ben Nadel gave a great connect presentation to both Chennai and Hyderabad ColdFusion User Groups about his ClearCode Standards Project. The Presentation went really great and it will be really useful to create and deliver application with better coding standards and conventions in ColdFusion. He clearly explained about the Code readability, alignment, Spaces between values, assignment statements, functions and scope variables case and standards.
I'd like to thank Ben Nadel for his excellent presentation and also want to thank Clark Valberg and Ayub Khan for making this event a great success for India CFUG.
Some Examples From Ben Nadel's Coding Methodology Standards:
ColdFusion Code:
index="intFileIndex"
from="1"
to="#REQUEST.FileCount#"
step="1">
<label for="file#intFileIndex#">
File #intFileIndex#:
</label>
<input
type="file"
name="file#intFileIndex#"
id="file#intFileIndex#"
/>
<br />
</cfloop>
SQL Statements:
(
first_name,
last_name
)
VALUES
(
<cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#FORM.first_name#" />,
<cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#FORM.last_name#" />
)
CSS Rules:
body {
color: #262626 ;
font-family: verdana, arial, georgia ;
font-size: 62.5% ;
}
h1,
h2,
h3,
h4,
h5,
form,
table,
p,
ul,
ol {
margin-bottom: 1.8em ;
margin-top: 0px ;
}
Ben Coding Methodology Links:
My Coding Methodology - Understanding The Madness And The Man Behind It.
Ben Nadel's Easy Tips For Writing Better, More Optimized SQL.
Presentation Link: ClearCode Standards Project By Ben Nadel
Chennai CFUG Event Photos Chennai CFUG Event Photos

