|
The
point of having super execute its code is that it may very well have completely
different settings than the child. For instance, the datasource it uses may be
different. The fact that SalariedEmployee is a child of Employee does NOT
mean that it has the same settings. Before SuperQ() was available, I
had to employ the workaround you suggest, but this always bothered me. The
parent MIGHT have the same settings as the child, but that it MUST? That's a
little too restrictive for my tastes. As for complex and obscure?
Well, everyone will come to their own conclusion, but here's the call
to SuperQ. It doesn't seem to me to fit your description:
<cfset SuperQ()>
SuperQ ensures that the parent will operate in the environment it
was designed to. A simple include will not. It may be that in 99 times out of
100, they will share the same environment, but why accept a less than
complete solution? There should be some compelling reason to accept something
that can have unexpected consequences. The entire FuseQ solution was designed to
be extremely easy to use. It seems to me that this is exactly the kind of
solution we want for Fusebox: lots of power; very easy to
use.
==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================ |
Title: Message
- RE: SuperQ functionality with the STANDARD core (Re... BORKMAN Lee
- RE: SuperQ functionality with the STANDARD cor... BORKMAN Lee
- Re: SuperQ functionality with the STANDARD... David Huyck
- Re: SuperQ functionality with the STANDARD... hal helms
- Re: SuperQ functionality with the STAN... John Quarto-vonTivadar
- RE: SuperQ functionality with the STANDARD cor... BORKMAN Lee
- RE: SuperQ functionality with the STANDARD cor... BORKMAN Lee
- RE: SuperQ functionality with the STANDARD cor... BORKMAN Lee
- RE: SuperQ functionality with the STANDARD... hal helms
- Re: SuperQ functionality with the STAN... Lee Borkman
- RE: SuperQ functionality with the STANDARD cor... Roger B.
