Thank you very much - that also helps me to better understand how/why a plugin is used. I remember reading in one of the docs somewhere that if you needed to do something before or after an event to use a plugin but it didn't really sink in at the time. I see that the user facade is instantiated here as well - very cool. Does the framework just magically know to do these first because it is listed in the xml file as a plugin? I'm still not quite seeing the big picture yet but I think I'm getting closer.
Thanks again. Kirk -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Phil Cruz Sent: Wednesday, November 17, 2004 12:43 PM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Question on machii-info and getDsn() The ApplicationPlugin.cfc has a configure() method that instantiates the appConstants and stores it in the properties. hth, Phil On Wed, 17 Nov 2004 12:34:47 -0900, Kirk Brogdon <[EMAIL PROTECTED]> wrote: > Can someone tell me how the dsn is getting set in the machii-info > application? I know (at least I think I know) that the values themselves > are being pulled from the properties of the mach-ii.xml file and I can see > in each of the listeners that the dsn is being set to > appConstants.getDSN()but I haven't been able to figure out where exactly > appConstants is being defined. There is an applicationConstantsBean.cfm > directly under the model that appears to have the getter and setter methods > needed but I can't see where that component becomes appConstants. There is > an appConstants.cfm but I don't think it comes into play here (appears to be > there for Flash). > > Thanks - Kirk > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at [EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
