ColdFusion components (CFCs) are ColdFusion templates that contain related functions and arguments that each function accepts. The CFC contains the CFML tags necessary to define its functions and arguments and return a value. ColdFusion components are saved with a .cfc extension.
CFCs combine the power of objects with the simplicity of CFML. By packaging related functionality into a single unit, they provide an object or class shell from which functions can be called.
ColdFusion components can make their data private, so that it is available to all functions (also called methods) in the component, but not to any application that uses the component.
ColdFusion components have the following features:
Consider using ColdFusion components when doing the following:
For more information on using ColdFusion components, see Building and Using ColdFusion Components