Pete Farrell's MachII Bean Creator (bit of a misnomer, since it's a bean creator and has nothing specifically to do with MachII creates all its data in variables.instance. I do this frequently as well. There's several advantages, the largest of which is the ability to grab all the instance data at once without having to filter out the methods (which are treated in the variables/this scopes as struct keys).
I've also been making heavy use of collection classes in my current app and they're very nice as well. They've got add, exists, delete, and get methods that all keep the data at variables.data.
While sometimes this isn't the best solution, it's certainly a valid one for many, many situations.
Laterz,
J
PS - also look up the form validation thread since there were a couple important posts there before the new thread got started.
On 6/1/05, Kerry <[EMAIL PROTECTED]> wrote:
you might want to lookup thread(s):
[CFCDev] Generic Beans (was: LTOs (was: Form Validation))
--
---------------
-------------------------------------
Buy SQLSurveyor!
http://www.web-relevant.com/sqlsurveyor
Never make your developers open Enterprise Manager again. ----------------------------------------------------------
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]
