> And has anyone ever considered the overhead CFCs add to your app's > processing time/RAM usage? I know that is a fact, but it all depends on > how the CFC is built, how often CFCs are used, how large your app is, > bandwidth, etc.
CFCs can speed up an application, because they can be cached in memory, while simple templates (that you'd CFINCLUDE) can't be. Sure, it increases RAM usage, but with how cheap it is these days, there's no excuse for not having more than you need unless you're already at 4 GB (which is all that a single Java instance can use). I'd trade a few hundred (or even a couple thousand) dollars for RAM for hours and hours of maintenance time savings any day of the week. I know for a fact that using a well abstracted OO-style architecture will give me the latter (though it's not the only way to get it), so I'll happily buy as much RAM as I need to support that style. But in reality, unless your app is friggin HUGE, session data is going to be the primary consumer of memory, not your CFC instances. cheers, barnyeb On 8/22/05, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > Cool! That's the way most patterns start - they're not really cooked > > up, they're just things developers started doing, then said to each > > other "Hey! I do that too! Let's call it something so that we can > > share the technique." > > That makes sense. I've read about and sat through presentations on > design patterns. I'm just a no-nonsense kind of guy. > > > It _can_ add some upfront time, but it's been my experience that when > > stuff starts changing (and we know it's going to!), having "everything > > in its place" can be a lifesaver. > > And has anyone ever considered the overhead CFCs add to your app's > processing time/RAM usage? I know that is a fact, but it all depends on > how the CFC is built, how often CFCs are used, how large your app is, > bandwidth, etc. > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
