Thx guys lemme ponder on this a little bit here...this is a lot for a poor
'ol CF'er to take in at once...lol doh!


-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 03, 2002 7:39 PM
To: CF-Talk
Subject: Re: cfreturn session.records ?

On Saturday, August 3, 2002, at 04:31 , Matt Liotta wrote:
> Smells of interfaces to me. Wouldn't DAOManager be an interface and then
> have an implementation that is done using the session scope? Then the
> client would make use of the interface methods without knowing the
> underlying implementation.

Not necessarily. DAOManager would probably have some default 
implementations of methods. Particularly if you knew if was all about 
resultset scope management: you could have private setInScope() / 
getFromScope() methods in DAOManager that simply threw exceptions but have 
all the wrapper methods present (that delegate to the aggregated DAO - the 
data member instance) and then use setInScope() / getFromScope() to store 
/ retrieve results. Specific derived managers would implement those two 
methods for session scope, application scope etc.

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to