That sounds fine. How would you relate the different managers? What I've
done lately is when I init the main manager, I init its child managers and
pass a reference of the parent to the child. As in...
articleManager.cfc <cffunction name="init"> <cfset variables.JournalManager = createObject("component", "JournalManager").init(this)> </cffunction>
The problem with this is that you are tying know of children into the parent. Article is generic but you are forcing the ArticleManager to know about Article's children. I'd recommend refactoring your code to avoid that dependency!
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
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]
