Search code examples
coldfusioncoldfusion-9cfc

Coding conventions for writing cfc's in CF9?


With the new ways of writing CFC in CF9, what are some of the coding convention new to CF9?

Here are some I can think of...


Solution

  • do we still need to set attribute output=false for component and functions in script style CFC?

    I wouldn't think so. <cfscript> by its nature suppresses any whitespace and needs writeOutput() in order to have any output at all.