Interesting idea Taller...Just off the top of my head...
1.
<CFIF len(testvar)> is better than <CFIF testvar eq "">
2.
Use CFSWITCH instead of CFIF/CFELSE if possible.
3.
More for database optimization but..
Use Stored Procedures wherever you can. And where you can't, use CFQUERYPARAM for variables to protect your site from possible hackers and also to increase database performance. (Mike, I believe you mentioned this in a recent post)
-Dan
Main Topics
Browse All Topics





by: substandPosted on 2003-03-07 at 15:05:06ID: 8091544
separating your "code" from your "display" as much as possible promotes readability, and allows you to place all the code in a <cfscript> tag. scripted CF runs much faster and more efficiently than tags.