Jeffry:

You should use create and set if you wish to reuse a method or use multiple
methods in an object or invoke for one-time calls.

Andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jeffry Houser
Sent: Thursday, December 11, 2003 3:33 PM
To: cfcdev
Subject: [CFCDev] Creating an Instance of a component



Hi,

  The "standard" way I would use to create a component instance is use
cfobject.  And then I'd use cfinvoke to call various methods of the
component.  Often the first cfinvoke is an init type of method.

  If create an init method that will returns this, it seems to create a
component instance in memory the same way that cfobject would.  Is this
what actually happens?

  I attached a test component and the file I was using to test this.  The
tickcount wasn't much help since they were zero most of the time.  The dump
seemed to randomly change the order of methods in the component.


--
Jeffry Houser, Web Developer <mailto:[EMAIL PROTECTED]>
Aaron Skye, Guitarist / Songwriter <mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>


----------------------------------------------------------
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