Jim:
 I got the original and I will comment after reviewing
Joseph

At 03:00 PM 8/2/2004, you wrote:
I just realized something: did my previous message with the attachment come
through for anybody else?

It seemed to here, but the message lacks the list footer.

If not I'll post the files up someplace.

Jim Davis

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Jim Davis
> Sent: Monday, August 02, 2004 11:26 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Comment requests CFC instance vars
>
> I suppose I should have also shown the type validation in the sample.
>
> You can add the line <cfset Person1.setProp("FirstName", StructNew()) />
> someplace at the end if you want to see it.
>
> Also some decisions explained:
>
> 1) I wanted this whole thing to be "host" friendly.  Many hosts (mine,
> CrytalTech, included) won't let you set a "com" mapping - thus the
> "CFC_DepressedPress" mapping instead.  I wanted something distinct enough
> to
> allow (if needed) a simple full search and replace to change the mapping
> site-wide.
>
> 2) Since I wanted the metadata cache to be fast, but also host friendly, I
> made it use the application scope if it's available and the server scope
> if
> not.  (The thinking is that most people are using the application
> framework.)
>
> 3) All of the defined properties are set in the variables scope.  This
> means
> that you HAVE to use the methods to get at them.  This could be changed,
> but
> it suits my needs to have it this way.
>
> 4) All of the validation methods (for the generic set/get and the
> metadata)
> can accept a CFC name as well - but this must be the full name as used to
> instantiate the CFC (for example "CFC_DepressedPress.Test.Person" not just
> "Person").  Basically you can create your "DP Properties" using all the
> same
> type classes at the CFARGUMENT tag.
>
> 5) I've not formalized it yet (I'd like try to do a generic "clone" and
> "serialize" method as well, but there's a lot to them) but you can use the
> MetaData to easily loop over all of the publicly defined properties.
>
>
> Oh, also: I've been working on this for a long time - so please be gentle.
> ;^)
>
> Jim Davis
>
>
>
>
> ----------------------------------------------------------
> 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]

----------------------------------------------------------------------- http://www.switch-box.org/CFSQLTool/Download/

Switch_box                      MediaFirm, Inc.
www.Switch-box.org              Loveland, CO  USA

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