Barry -

I don't think he's talking about multiple inheritence - which can't be
done in CF.

He's talking about a scenario where inheritence goes up more than one level.

I just didn't want to get the issue confused.

Regards,

Mark

On 9/19/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
> yes Dale, don't use it.
>
> you have to ask yourself why. you might be better off with the
> decorator pattern (eg mix-ins)
>
> some gotchas's with multi inheritance:
>
> variables scopes are shared across object and base CFC's (variables
> scope is protected, not private)
>
> paths to the base cfc are fixed. no dynamic paths so you have to get
> your base classes in the right spot... and keep them there.
>
> if you're after a second opinion, suggest asking on the cfczone CFCDev
> list. smart ppl there with good reasons why.
>
> (having said that, Hal Helms uses a baseComponent.cfc almost
> exclusively. see:http://cf-bill.blogspot.com/2005/11/basecomponentcfc.html)
>
> eh, my 2c
> barry.b
>
> On 9/19/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > I have never used multiple level inheritance in CF but have a need.
> >
> >
> >
> > From what I read it works, although super can only access parent.
> >
> >
> >
> > Is this correct, any gotcha's I should be on the lookout for?
> >
> >
> > Regards
> >  Dale Fraser
> >
> > http://dale.fraser.id.au
> >
> >
> >
> >
> >
> >  >
> >
>
> >
>


-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to