Hey Mitch, I did it via <cfinclude> so that I don't have to write a mix() method in all of the mixed classes (or create the Mixin as a CFC that takes the target class and acts as a decorator).
Using <cfinclude> doesn't provide any namespace protection, but it's simple and to the point. I'll probably blog more on "module" (cfinclude) vs. "object" (cfc) mixins at a later date. -Joe On 1/12/06, Rose, Mitch <[EMAIL PROTECTED]> wrote: > Hi, > > I'm looking at Joe's post of today, and the comments, and would like > some clarification from the experts. > > http://clearsoftware.net/index.cfm?mode=entry&entry=BC62A7BA-E081-2BAC-6 > 90DA2E20D609568 > > Is there some benefit that the runtime CFINCLUDE provides compared to > the method-oriented approach shown in the first comment ( the link to > Robin's blog entry )? > > > Thanks > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > [email protected] with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[email protected] > > > -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
