Hey Hal, you left out another benefit: By using SuperQ() (which is all of 8 characters), you can have a child refer to its parent *without* knowing anything about the parent. That is, the idea of some hardcoded FB1 trick of "../" can be left aside . That's one of the primary advantages of all of FuseQ is that it removes the physical file dependencies of the circuits and therefore, of the the fuseactions and fuses.
----- Original Message ----- From: "hal helms" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 21, 2002 11:55 PM Subject: RE: SuperQ functionality with the STANDARD core (Re: MVC question) > 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 ==^================================================================
