OO Principles: Composition (part 2)

I don't "do OO" development in ColdFusion. I'm starting with that statement not to spark another debate about whether to use OO in ColdFusion, but rather to clarify that while this post is about a principle of object oriented development, you don't need to "Do OO" in order to learn, use, and benefit from composition.

In the last "OO Principles" entry, I introduced composition. The examples that I used were barely complicated enough to show some of the benefits of composition. Much more complicated than that, however, and you can also run into some challenges. While these do not (in my opinion) overcome the advantages of composition, they are still worth considering.

[More]

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
FYI... I am working on a tool that works more and thinks more like "ColdFusion". It is called sosFactory and we use it at SOSensible with great delight. It's going to be an "alternative" to ColdSpring ... and not a replacement. I will have to get it out soon so others can enjoy it also. We have some special features like persistance support that again thinks like ColdFusion. There are lots of great caching tools out there but they don't seem to have the same persistance scheme as ColdFusion does and it can be confusing.
# Posted By John Farrar | 9/3/09 2:37 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.