Where do I put my CFC files so that CF finds them?  Root directory?  Do I
need to define the location within Admin?

Andy

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 6:02 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: CFCs - property access best practices


> > Furthermore, you want to use the unnamed scope for
> > your instance data
> > (and this seems to be a popular idiom):
> >
> >     <!--- person.cfc --->
> >     <cfcomponent>
> >             <!--- create a single 'handle' for your
> > instance data: --->
> >             <cfset instance = structNew()>
>
> What does:
>       <cfset instance = structNew()>
>
> do for your component?

If called from within one of the component's functions, it would overwrite
the structure "instance" with a new, empty structure, so all of the keys
within the original structure would be lost. It can't be called outside of
the component, since it's not exposed as a public member variable.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to