Kay,

I personally don't have any problem with CFCs calling methods in other 
CFCs. I guess it all depends on the rules of the framework you are working 
within too. Within the framework we use (our own), we either create the 
component within the component, or initialise the component with another 
component. We also use singletons (only one "instance" of an object) 
heavily to improve performance.

E.g.

oCalendarItem = CreateObject"component","calendarItem").init(oCalendar, 
arg2, arg3);

A method within the calendarItem component might use the oCalendar 
instance to check access levels, or something..

Darryl Lyons

[EMAIL PROTECTED] wrote on 28/02/2005 05:21:43 PM:

> Hi guys,
> 
> I'm working finally on "Super Awesome Amazing Uber Tracker", my
> nemesis project, and even thought it started life in CF 4.01 and
> Fusebox 1,  it's now going to be deployed in CF7, so I'm re-writing
> the non-display code in CFCs. Most of the user functionality is going
> to run from one screen, almost RIA-like, so I haven't bothered to use
> Fusebox 3 or 4 or whatever, it's just one big CF template.
> 
> I was wondering what the best practise is with regards to CFCs calling
> other CFCs. All my Fusebox conditioning leads me to scream "NOOOOOO"
> but there's a case where I would like to reuse an existing function in
> another. Normally I'd shove both function calls off to a single
> fuseaction but as I'm going the one big template approach I dunno what
> to do. I'm starting to question the lack of any kind of controller
> mechanism.
> 
> Maybe I'll go crawling back to Fusebox 4...
> 
> -- 
> Kay Smoljak
> http://kay.smoljak.com/
> 
> ---
> You are currently subscribed to cfaussie as: 
[EMAIL PROTECTED]
> To unsubscribe send a blank email to 
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/



To unsubscribe from this email please forward this email to [EMAIL PROTECTED] 

This email message is confidential and may be privileged. If you are not the 
intended recipient
please forward the email to [EMAIL PROTECTED] and delete the original.
 
ABN AMRO Morgans Limited and its associates hold or may hold securities in the 
companies/trusts mentioned herein.
Any general advice included in this email has been prepared without taking into 
account your objectives, financial situation or needs.
Before acting on the advice, you should consider its appropriateness or discuss 
with one of our investment advisors.

ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX 
Group.
A principal member of the Financial Planning Association.


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to