Personally, I just pretent the roles stuff doesn't exist. Never used it, never will, because you're exactly right, security is way out of place at that level.
As for the rest of it, I didn't say CFCs were perfect, but they are certainly usable. The 6.0 incarnation was iffy at best, but the 6.1 incarnation definitely is a Good Thing. Also keep in mind that we're talking about objects in a way similar to how ECMAscript does it, not how Java does it. That model works very well. It's not good for full OO development, but for leveraging OO concepts and reaping the benefits it does a pretty good job. CFCs aren't supposed to be full OO, and they fill that niche very well. Since CFCs have been around, I've written several reasonably substantial apps (along with a lot of mini-apps) using CFCs and have been quite satisfied. All of them have had small parts written in Java, where I needed the capabilities of a full OO language, but for the most part, CFCs provided all I needed. cheers, barneyb > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Matt Liotta > Sent: Thursday, November 13, 2003 1:26 PM > To: [EMAIL PROTECTED] > Subject: CFC complaints (was Re: [CFCDev] Native CF tags and local > scope) > > > > I love CFCs. Very nice. I don't have many complaints, but this item > > is > > where the head was up the ass, not on the overall implementation. > > Didn't > > state that very clearly; my bad. > > > What about the roles attribute? I am not sure why something as high > level as authorization should be placed as low a level as a method. > Certainly some applications require method level security, but most > don't. As bad as JAAS is, it does provide a better model. > > Further, field and method access should be handled at runtime instead > of construction-time and this should be a reference to the object > instance instead of a scope. > > What about the super scope? It isn't really a scope like any other > scope in CFMX. It is more of syntactical sugar since super can't be > treated as a data structure. > > Matt Liotta > President & CEO > Montara Software, Inc. > http://www.MontaraSoftware.com > (888) 408-0900 x901 > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word '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 word '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]
