Monthly Archives: May 2008

Nested Set Trees in ColdFusion

A new version of this project is available. A common technique to manage hierarchical data in a relational database is to use an "Adjacency List" model, where you have both an ID column and a Parent ID column in a table. This is easy to understand and maintain but can be difficult or inefficient when [...]
Posted in Nested Set Trees | Tagged | Comments closed

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 | Tagged , , | Comments closed