Top Ten Coldfusion Programming Mistakes -
possible duplicate:
common programming mistakes coldfusion programmer avoid?
the purpose of question educate myself, people work with, , perhaps other coldfusion programmer's out there..
for of program in adobe coldfusion or have programmed in coldfusion, top ten mistakes made, or should never made.
i mean give me worst of worst, must never do, avoid.
sometimes helps show "what do" want show "what not do"
or perhaps share of coding nightmares...
bring on!
- programming if you're 1 ever work on code
- no comments complicated or strange sections of code
- using pound signs (#) unnecessarily
- not using cfbreak break out of loop when appropriate
- using customtags "business logic", when cfc more appropriate
- not caching singleton cfcs in application or server scope
- paginating large recordsets in coldfusion, when pagination should done in sql
- not setting output="false" on cfcs , each cffunction within
- creating arrays of objects on high-traffic site when simple recordset (query object) perform better , simplify
- putting logic in view layer
Comments
Post a Comment