Grasping OO in ColdFusion
Wednesday, January 12, 2005 at 11:03AM 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