I guess that if you have proper error handling in your
methods, it would catch the missing init() call OR it would catch the fact that
you didn't specify any arguments that are required for the
methods.
Hmmm... From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] RFC, CFC Best Practices Whether good or bad, I *assume* init has been called and don’t perform explicit checks.
From: Raymond
Camden [mailto:[EMAIL PROTECTED]
Speaking of init - how do folks handle cases where they want to force an init w/ arguments? For example, maybe the CFC needs a datasource name in order to work correctly. I don't want to add checks to all my methods to make sure Init() was called. I _could_ use defaults but that wont apply in all cases.
=======================================================================
|
- RE: [CFCDev] RFC, CFC Best Pr... Nat Papovich
- RE: [CFCDev] RFC, CFC Bes... Nathan Dintenfass
- Re: [CFCDev] RFC, CFC Best Practices Sean A Corfield
- RE: [CFCDev] RFC, CFC Best Practices Stacy Young
- Re: [CFCDev] RFC, CFC Best Practices Matt Liotta
- RE: [CFCDev] RFC, CFC Best Practices Dawson, Michael
- Re: [CFCDev] RFC, CFC Best Practices Barnaby Relph
- Re: [CFCDev] RFC, CFC Best Practi... Jeffry Houser
- Re: [CFCDev] RFC, CFC Best Pr... Matt Liotta
- Re: [CFCDev] RFC, CFC Bes... Sean A Corfield
- RE: [CFCDev] RFC, CFC Best Practices Dawson, Michael
- RE: [CFCDev] RFC, CFC Best Practices Dawson, Michael
- RE: [CFCDev] RFC, CFC Best Practices Jon Gunnip
- Re: [CFCDev] RFC, CFC Best Practices Matt Liotta
- RE: [CFCDev] RFC, CFC Best Practices Hagan, Ryan Mr (Contractor ACI)
- RE: [CFCDev] RFC, CFC Best Practices Dawson, Michael
- RE: [CFCDev] RFC, CFC Best Practices Ben Densmore
- RE: [CFCDev] RFC, CFC Best Practices Raymond Camden
- RE: [CFCDev] RFC, CFC Best Practices Roland Collins
- [CFCDev] Session/Application inside a... Nathan Dintenfass
- Re: [CFCDev] Session/Application ... Matt Liotta