Hi Elliot,

Just read your mail. Yeah, I'm coming round to the idea, that this might
be the way to do it. It also means that I can auto-generate my objects
based on the database schema far more easily. What they call the lazy
programmer approach! :o)

Douglas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Elliot Russo
Sent: 17 March 2004 00:35
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] MVC Architecture

You can try the lazy loader approch. That is store the key at object
creation but when a property is accessed that represents another object
then
create that object represented by the foriegn key. That way you don't
trigger the creation of a large number of objects you may never need.

Elliot

----------------------------------------------------------
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]


----------------------------------------------------------
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]

Reply via email to