----- Original Message ----- 
From: "boy_trike" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Thursday, October 05, 2006 6:46 PM
Subject: [flexcoders] Re: How many cfs's are TOO much


> --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
> >
> > On Wednesday 04 October 2006 22:33, boy_trike wrote:
> > >  most of my components have 2- 6 cfc (ie. AddRecord, UpdateRecord,
> > > DeleteRecord, ReadRecords).  Each one has a unique function to call it
and
> > > a result handler.  Is there a better way to handle / group my cfc's.
> >
> > It would be normal to group all the CRUD (create read update delete)
methods
> > for an object into one CFC.
> >
> > -- 
>
> I am not sure what you mean by NORMAL.  Is there any performance hit by
having 6 cfc's in a
> component vs. 1?  Is it better to have one large results function with a
switch statement to
> handle the results?
>
> thanks
> bruce

I don't think it's a question of performance, rather more a case of
collecting related functions together - much along the lines of methods in
an Actionscript class. Far easier to manage.

Paul




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to