Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-29 Thread Douglas Knudsen
cfobject returns a instance of the CFC, cfinvoke does not. The advantage of this is you can call mutliple methods in the CFC without reinstantiating the CFC. DK On 8/25/05, wolf2k5 [EMAIL PROTECTED] wrote: On 8/25/05, Barry Beattie [EMAIL PROTECTED] wrote: just a side question. Is there a

Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-29 Thread wolf2k5
On 8/29/05, Douglas Knudsen [EMAIL PROTECTED] wrote: cfobject returns a instance of the CFC, cfinvoke does not. The advantage of this is you can call mutliple methods in the CFC without reinstantiating the CFC. I always use cfobject to create an instance of the CFC and then I use cfinvoke

Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Barry Beattie
we have a config file that is read and used to tell us where the path is (for us it's a server variable). Added to this is a ColdFusion path that points to the folders' name. they both help. We have to do this because theapp is going out to 150+ sites and they can call the folder anything

RE: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Kerry
I'll second what dave said about developing locally, but you could achieve this easily by having 2 websites running on the server? www.yoursite.com points to c:\inetpub\wwwroot\yoursite\ dev.yoursite.com points to c:\inetpub\wwwroot\devsite\ Then they both have seperate copies of

Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Barry Beattie
Ahhh...I see...that's bleeding into another thread around about using (or not) argumentCollection=#args#, etc... I got asked the other day for valid reasons for using cfinvoke over CreateObject() and couldn't think of any (sorry if this is getting a bit OT, Stephan...) barry.b On

Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Barry Beattie
Stephen, you're not alone. I have to give a talk at the local cfug next month about basic CFC use. the cfug manager is dragging his work mates to it 'cos they're still in CF5/6.1 days and all component use is with cfinvoke. I'd look a right nong if they had very valid reasons for cfinvoke that

RE: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Scratch
Barry, Are there significant tangible advantages to using createobject rather than invoke other than preference? Baz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie Sent: Thursday, August 25, 2005 10:35 AM To: CFCDev@cfczone.org Subject:

Re: [CFCDev] Working with CFC's in a development version of a live site

2005-08-25 Thread Stephen Adams
Hi everyone, Ok the reason I've used cfinvoke is because I found it easier to call the methods I want, I'm not to clued up on how to call methods any other way. Also I built this site on CF7 and I found that it really slowed down my machine, so I have reinstalled it since (but I have got a new