0

ColdFusion Best Practices

ColdFusion, Adobe

I will be presenting on ColdFusion Best Practices at the Houston ColdFusion Users' Group meeting on 10/18.

 

Ever work on someone else's code and have trouble reading it, or getting through all the includes, or fixing something simple that ends up taking way longer than it should?

I'll share with you some simple coding practices developed by the brightest minds in the CF community that will make your code easier to maintain, easier to upgrade to future versions of CF, and more compatible with other platforms.  Following a few simple guidelines can make your life easier, and make you more valuable immediately and in the long run!

  • "quoted" vs. non quoted attributes
  • lowercase, UPPERCASE, PascalCase, camelCase, strHungarian case, or does it really matter?
  • Are extra pound signs in variables bad?  Where should they go/not go?
  • File naming conventions
  • Application Structure
  • Code Indention - When & where to wrap
  • Variable Naming
  • CFC's, Custom Tags, cfinclude, cfmodule

As an added bonus, I will show you an easy technique that can improve the performance of certain slow-running pages by up to 100 times!
 
Seth, sounds like some good info you are cooking up. Any plans on doing some blog posting on these tips?
I, of course, think you should absolutely post on it :)

~AJL
 
posted 1151 days ago
Add Comment Reply to: this comment OR this thread
 
 
That's a great idea, Aaron, I think I will do just that. I'm still trying to get a method together for effeciently posting entries and answering comments, so if nothing else, I could use the exposure to the blog software. :)
 
posted 1151 days ago
Add Comment Reply to: this comment OR this thread
 

Search