Hmmm, looks basically sound to me. If your practice is to always call the init() method, and it looks like you certainly need to to set the instance values up, you don't really need the variable declarations in the pseudo-constructor area.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Paul
Sent: Thursday, March 31, 2005 12:09 AM
To: [email protected]
Subject: [CFCDev] cfc check

I’m about to begin a new project that will be my second attempt at “real” OO within ColdFusion.  (I’ve been working w/ CF since 4.5 but was unfortunately working with PHP when MX arrived on scene – been playing catch up lately.)   I learned a lot from my mistakes on the first app, and before I begin a new project I want to be sure my understanding of CFCs is at least fundamentally sound. 

 

For starters will you please review the attached CFC and point out any troublesome areas?  It is a simple LDAP authentication CFC, but I’d like feedback on the structure as a whole before I create many more similarly structured components. 

 

TIA

 

paul

 

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

Reply via email to