Re: CFC in application scope....or else?

2007-11-09 Thread Tom Chiverton
On Friday 09 Nov 2007, Joeri B wrote: > I got it now, I can make OO objects/CFC's which can be easily re-used in > another application, or other CFC's. So I write less CFC's... And less fragile glue to hold them together too. I wrote a brief comparison of where LightWire and ColdSpring differ here

Re: CFC in application scope....or else?

2007-11-09 Thread Joeri B
Thanks for all the help. Meanwhile I played with LightWire to get a feel of true IoC. I used 2 cfc, and wired them together. Product CFC and a tax calculator CFC. Product CFC depended on tax calculator to exist. I got it now, I can make OO objects/CFC's which can be easily re-used in another a

RE: CFC in application scope....or else?

2007-11-09 Thread Rick Faircloth
each of the learner. Rick > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Friday, November 09, 2007 3:58 AM > To: CF-Talk > Subject: Re: CFC in application scopeor else? > > On Nov 8, 2007 7:14 PM, Rick Faircloth <[EMAIL PROTECTED]>

Re: CFC in application scope....or else?

2007-11-09 Thread Charlie Griefer
On Nov 8, 2007 7:14 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > The problem is, I didn't see any answer or guidance in the question. > When someone has no clue about the broader implications of their > question, they can't understand the significance of the response > question. It's just obfus

RE: CFC in application scope....or else?

2007-11-08 Thread Rick Faircloth
ve Watts [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 4:24 PM > To: CF-Talk > Subject: RE: CFC in application scopeor else? > > > I'm sure he's just looking for observations/pros/cons about > > the direction he's taking. Like me, before swimming

RE: CFC in application scope....or else?

2007-11-08 Thread Dave Watts
> I'm sure he's just looking for observations/pros/cons about > the direction he's taking. Like me, before swimming in > unknown waters, I check with the locals about possible sharks > in the waters. > > But everyone keeps answering his question with more questions. Why do you think that is?

RE: CFC in application scope....or else?

2007-11-08 Thread Rick Faircloth
--Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 10:52 AM > To: CF-Talk > Subject: RE: CFC in application scopeor else? > > > Which one (CFC in application scope OR framework) is the best > > practice for a small appli

Re: CFC in application scope....or else?

2007-11-08 Thread Brian Kotek
All Singletons are set up in the Application scope regardless of whether you do it yourself or use a dependency injection framework. The benefits of the DI frameworks have more to do with managing dependencies in your model. All that said, I'd recommend looking at ColdSpring for about any size pro

RE: CFC in application scope....or else?

2007-11-08 Thread Dave Watts
> Which one (CFC in application scope OR framework) is the best > practice for a small application? Why do you think that there is a single, universal best practice that answers this question? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest cal

Re: CFC in application scope....or else?

2007-11-08 Thread James Holmes
No issue, since by default ColdSpring caches objects in the application scope anyway. As for the original question, yes, there's less value in a dependency injection framework if you don't have dependencies to inject. On Nov 8, 2007 10:12 PM, Todd <[EMAIL PROTECTED]> wrote: > What's wrong with pu

Re: CFC in application scope....or else?

2007-11-08 Thread Todd
What's wrong with putting objects in application scope? As long as it's done right, then what's the issue? On Nov 8, 2007 7:04 AM, Joeri B < [EMAIL PROTECTED]> wrote: > Hi, > > I've got a small application with some CFC's (no dependencies yet). At my > work we cach/put our CFC's in the applicati