> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Gurevich, Gerry (NIH/NIEHS) [C] > Sent: Tuesday, January 24, 2006 10:13 AM > To: [email protected] > Subject: RE: [CFCDev] CFML and Typing (was Bean and CFC question) > > Jim, I'm not trying to talk you into anything. It looks like you've got > a system that works, but I do want to correct something that you said > for other readers. > > CFPROPERTY does not restrict your ability to create access restrictions. > If you go the cfproperty route, you have to write a cfproperty parser as > part of your super.init method. If you want you can create validation > methods and provide access control. I have been doing typing and > listing required fields in my version. I've been wanting to add more > features, but haven't had the time yet.
True, of course. ColdFusion: There's always at least five right ways to do anything. ;^) Perhaps it would be better to say that CFPROPERTY doesn't natively offer these features - so whether you build your own or modify it you'll need to do something to get them. > That being said, I've been working with <cfproperty> in a stable way for > about a year now and have built some reasonably large and complex > applications with it. Never meant to indicate that it was unstable or non-performant - I think it's probably better on both counts than my system for the simple fact that it's built-in. I still think there may be issues with property declaration for web services however - but for most people that just isn't an issue. Jim Davis ---------------------------------------------------------- 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). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
