« Baby Class | Main | Diggin' on 24 Day 4 »
Wednesday
Jan122005

Grasping OO in ColdFusion

With every new ColdFusion application that I develop, I feel like a do a bit better job of applying OO concepts. My first CFMX applications used CFCs as simply a function library. But with the help of some coworkers and the great ColdFusion community, I've started to get the hang of really thinking in terms of objects.

One thing that still thows me from time to time is modeling the many-to-many relationship in the OO world. Whenever I try to model something like "this employee in this department for this fundraiser" (for example) I get a bit knackered determining which data belongs in which object. I think the key in cases like that is to simplify, but I would like to understand the best practices for handling such cases.

Hal Helms' occasional newsletter series has done a great job of putting these concepts in clear language.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>