You can extend CFML by creating and using custom CFML tags that encapsulate common code. 

Creating custom tags

Executing custom tags

Managing custom tags

Nesting custom tags

Passing data to custom tags


Refer to Pete's explanation of custom tags here