Tag Archives: Components

Using Constants in ColdFusion Components

In code we often need to make use of constant values. It is good practice to use named constants rather than literal values, but what is a good technique for managing constants in an object oriented ColdFusion application? One technique is to break your constants down into separate files that relate to their particular area. [...]
Posted in OOP | Also tagged , | Comments closed

ColdFusion Mappings and Components

When I first started working with ColdFusion mappings I was confused about how ColdFusion components were found. In addition, I did not understand the relationship between component creation and mappings and custom tag paths. After some research I found the following surprising results. When you create a new Component using createObject() ColdFusion searches for the [...]
Posted in ColdFusion | Also tagged | Comments closed