Whoops, forgot a line of code in the init() in that example, so just to make
it really clear ...

<cffunction name="init" access="public"
returntype="myCachedInAppScopeObject" output="no">
        <cfargument name="dsn" type="string" required="true" />
        <cfset variables.dsn = arguments.dsn />    <-- forgot this one ...
        <cfset generateGatewayObjects()>
        <cfreturn this />
</cffunction>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Nando
Sent: Thursday, September 30, 2004 8:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Encapsulation and Request vars (was Function
Libraries)


Steve,

First, have you tested invoking or instantiating cfc's to see what the
performance cost actually is? In my experience, and i think many people will
agree, the performance bottlenecks are usually at the database access point.

<snip>


----------------------------------------------------------
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 www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to