RE: RE: CFC/Object Best Practice

2003-09-05 Thread Tyler Silcox
CTED] Sent: Friday, September 05, 2003 6:44 AM To: CF-Talk Subject: RE: RE: CFC/Object Best Practice Mike, Which UDF is it, that you like? Tyler -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:05 PM To: CF-Talk Subject: RE: RE: CFC/Object Bes

RE: RE: CFC/Object Best Practice

2003-09-05 Thread Mike Brunt
AM To: CF-Talk Subject: RE: RE: CFC/Object Best Practice Mike, Which UDF is it, that you like? Tyler -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:05 PM To: CF-Talk Subject: RE: RE: CFC/Object Best Practice Ian, I may have said this

RE: CFC/Object Best Practice

2003-09-05 Thread Raymond Camden
> That will work only if init() doesn't take any arguments. I already replied to this, but again, only if it's _required_ arguments, or arguments you can't default in the automatic call. === Raymond Camden, ColdFusion Jedi M

RE: RE: CFC/Object Best Practice

2003-09-05 Thread Tyler Silcox
Mike, Which UDF is it, that you like? Tyler -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:05 PM To: CF-Talk Subject: RE: RE: CFC/Object Best Practice Ian, I may have said this already but just in case. It really is worth taking a

RE: CFC/Object Best Practice

2003-09-05 Thread Hal Helms
18 AM To: CF-Talk Subject: RE: CFC/Object Best Practice While what you say is true, folks should remember that CF will run any code outside of cffunction tags automatically. So, if you do this: Then you will _not_ need to call init() you

RE: CFC/Object Best Practice

2003-09-05 Thread Tim Blair
> Then you will _not_ need to call init() yourself. That depends if you need to pass any parameters in to the "constructor" -- if you do then that method won't be appropriate. Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit

RE: CFC/Object Best Practice

2003-09-05 Thread Raymond Camden
> > Then you will _not_ need to call init() yourself. > > That depends if you need to pass any parameters in to the > "constructor" > -- if you do then that method won't be appropriate. > Unless of course it takes arguments but has default values. ;) Then of course you end up with a CFC where i

RE: CFC/Object Best Practice

2003-09-05 Thread Raymond Camden
it is." - Yoda > -Original Message- > From: Hal Helms [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2003 12:29 AM > To: CF-Talk > Subject: RE: CFC/Object Best Practice > > > CFCs don't have true constructors at this time. To make up > for tha

RE: CFC/Object Best Practice

2003-09-05 Thread Tim Blair
> CFCs don't have true constructors at this time. To make up > for that, several people have standardized around the idea of > a method called init(), but it's up to the programmer to call > init(); the system doesn't do it itself. That's the one, hence the "comment" :) > Personally, I usu

RE: CFC/Object Best Practice

2003-09-05 Thread Hal Helms
for ColdFusion Programmers Fusebox 4 Mach-II OO Applications with CFCs -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 2:58 PM To: CF-Talk Subject: RE: CFC/Object Best Practice That is indeed what I was trying to figure out. Got almost the

RE: RE: CFC/Object Best Practice

2003-09-04 Thread Mike Brunt
> BloodSource > Sacramento, CA > > > -Original Message- > From: Joe Eugene [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2003 8:01 AM > To: CF-Talk > Subject: Re: CFC/Object Best Practice > > > > practice to code this relationship in an CFC

RE: CFC/Object Best Practice

2003-09-04 Thread Hal Helms
Sent: Thursday, September 04, 2003 1:39 PM To: CF-Talk Subject: RE: CFC/Object Best Practice Thanks, I've got a pretty good handle on inheritance (a Porsche IS A car) ... using cfcomponent extends. What I'm looking for is how one might code other types of relationships such as (a car HAS A en

RE: CFC/Object Best Practice

2003-09-04 Thread Ian Skinner
oks like a good one, I'm going to read through it now. -- Ian Skinner Web Programmer BloodSource Sacramento, CA -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 9:17 AM To: CF-Talk Subject: Re: CFC/Object Best Practice

RE: CFC/Object Best Practice

2003-09-04 Thread Ian Skinner
r 04, 2003 9:44 AM To: CF-Talk Subject: RE: CFC/Object Best Practice > And how would this look in the code of a CFC? I'm guessing what you mean is something like this: ? Tim. --- RAWNET LTD - Internet, New

RE: CFC/Object Best Practice

2003-09-04 Thread Tim Blair
> And how would this look in the code of a CFC? I'm guessing what you mean is something like this: ? Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com

Re: CFC/Object Best Practice

2003-09-04 Thread Joe Eugene
sign Blue Prints for Objects Or Classes (OOD), you need to have a good understanding of your application model. Joe Eugene - Original Message - From: "Ian Skinner" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, September 04, 200

RE: CFC/Object Best Practice

2003-09-04 Thread Ian Skinner
at WAS NOT inheritance, and how would one code cfc's for this relationship? -- Ian Skinner Web Programmer BloodSource Sacramento, CA -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:01 AM To: CF-Talk Subject: Re: CFC/Obje

Re: CFC/Object Best Practice

2003-09-04 Thread Joe Eugene
> practice to code this relationship in an CFC. How would the car code send > and receive messages to the engine code? Objects talk to each other by invoking their instance methods. > themselves). Anyway, using the ever present car object example. You have a > car class/object that contains an