Also, if you use a factory pattern, should all CFCs related to another CFC be called in the factory and then passed into the CFC rather than just creating them from inside the CFC…

 

For example, I use a transfer object to hold my User data… so normally in my User init() method I would create the UserLTO – should I instead create the UserLTO in my Factory’s createUser() method and pass it into User CFC as an argument?

 

Thanks for time,

 

Baz

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scratch
Sent: Monday, October 31, 2005 6:42 AM
To: [email protected]
Subject: [CFCDev] Factory Pattern

 

Hi guys,

 

If you’re using a factory pattern to create all your CFCs, how do you use it to create CFCs within other CFCs?

 

Baz

 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to