--- Sean A Corfield <[EMAIL PROTECTED]> wrote:
> 
> No, I'm just saying that I would aim for:
> - stateless service-like components (that can be "heavy" and slow
> to create)
> - stateful components that are small and light
> 
> In other words, avoid big complex stateful components if possible.
> I use a lot of stateful components but they (generally) don't have
> a lot of methods and they don't do much during 'construction'.
> 

Okay. Can you supply some specifics about your criteria for 'heavy' ?

I presume that by 'construction', we mean any overheads to using the 
object, such as what's normally referred to as the 'constructor' 
code in addition to any other explicitly invoked functions.

500 lines in a CFC too big ? 10 functions ? 'Constructor' code that 
runs longer than (I don't know) 50 ms ?

Andy. 


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to