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
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
> 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
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
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
> 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
> > 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
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
> 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
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
> 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
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
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
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
> 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
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
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
> 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
18 matches
Mail list logo