On 10/27/05, Kerry <[EMAIL PROTECTED]> wrote:
> 2) why is the factory performing CRUD operations? the factory should return
> an instance of the user component?

It is NOT doing CRUD. Everyone seems to have jumped on "addUser()" and
deleteUser()" without actually reading what Andrew said about the
application!

There's no database stuff going on here.

He has an in memory structure that keeps a record of currently 'logged
in' / active users. When a user become active, he adds their details
to the in-memory "userFactory" (bad name, I think) and when they
become inactive, he deletes their details from the in-memory
structure.

Andrew, is that a correct summary of your scenario?
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"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' as the subject of the 
email.

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

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

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


Reply via email to