Re: cfc creation best practice

2011-03-28 Thread Russ Michaels
One of the big advantages of caching your CFC's in memory is to reduce the overhead of instantiating them. If you have a rarely used ADMIN section, then this wont be an issue for for you if they are invoked every time you use them, so I wouldn't make any more work for yourself unnecessarily.

RE: cfc creation best practice

2011-03-28 Thread Mark A. Kruger
...@michaels.me.uk] Sent: Monday, March 28, 2011 9:22 AM To: cf-talk Subject: Re: cfc creation best practice One of the big advantages of caching your CFC's in memory is to reduce the overhead of instantiating them. If you have a rarely used ADMIN section, then this wont be an issue for for you

cfc creation best practice

2011-03-27 Thread Greg Morphis
If you have a site or an area of the site that's not going to get used a WHOLE lot would it make sense to create cfc objects (beans, gateways, daos) when you need them or is it still best just to create the gateway and dao object on application start? At what point would you just create it in the

Re: cfc creation best practice

2011-03-27 Thread Brian Kotek
Since the memory footprint of a CFC is generally very small, I would just create everything together at app startup (ideally using ColdSpring) and be done with it. On Sun, Mar 27, 2011 at 7:21 PM, Greg Morphis gmorp...@gmail.com wrote: If you have a site or an area of the site that's not

Re: cfc creation best practice

2011-03-27 Thread Greg Morphis
Awesome! I appreciate the info Brian! On Mar 27, 2011 9:48 PM, Brian Kotek brian...@gmail.com wrote: Since the memory footprint of a CFC is generally very small, I would just create everything together at app startup (ideally using ColdSpring) and be done with it. On Sun, Mar 27, 2011 at