array
Lucee recommends to use the inline array notation.
cfapplication
Use Application.cfc instead of Application.cfm files. The Application component provides better organization and additional features. Note that if you are using Application.cfm it should contain a cfapplication tag.
The use of this function is discouraged. It is an internal function, call decrypt(string,key,"cfmx_compat","hex") instead.
The use of this function is discouraged. It is an internal function, call encrypt(string,key,"cfmx_compat","hex") instead.
evaluate
In almost all cases evaluate is unnecessary (use bracket notation instead). Use of evaluate can lead to performance and security issues.
Use the ternary operator CF 9+ instead because it does not evaluate.
Example ternary operator: ( (condition) ? valueIfTrue : valueIfFalse )
Use LSParseCurrency instead
The use of preserveSingleQuotes often (but not always) results in code that will be vulnerable to SQL Injection. Use the cfqueryparam tag instead, and you will not need to worry about single quotes.
This function is no longer required in well-formed CFML pages
This function is in an early state. Do not use in production!
The continued use of this function is discouraged. It is recommended that you use EncodeForURL for all new applications.
Putting session identifiers in the URL may lead to session hijacking.
Adobe recommends using encodeForXML instead of xmlFormat.
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.