cfscript or cfinvoke

2006-02-28 Thread Mark Flewellen
What is the best method or easiest method for calling component methods. At present i use the cfinvoke way of doing things, but i see a lot of people use cfscript instead to do it, is there some reason for this? less code involved maybe? Mark

Re: cfscript or cfinvoke

2006-02-28 Thread Robert Everland III
I use cfscript because it's much more similar in syntax and look to other languages, javascript, java, c, c# . This way I don't go crazy when I switch between languages. Back in CF 5 days it used to be faster to do it this way, but not now. Bob

Re: cfscript or cfinvoke

2006-02-28 Thread Aaron Rouse
I use either a CFSCRIPT or CFSET, it just depends on where I am using it. Most of the time I do the CFSCRIPT and with bother I use the CreateObject() function. I do it more out of habbit, I think the CF5 days(which we still live on some servers here) got me stuck on using CFSCRIPT a lot. Plus I

Re: cfscript or cfinvoke

2006-02-28 Thread Nathan Strutz
Does anyone else find it somewhat ridiculous the number of ways you can call a CFC? cfscript obj = createobject(...);/cfscript cfset obj = createobject(...) cfinvoke ... cfobject ... using any of the above methods, you can call it like a web service call it directly from the url,

RE: cfscript or cfinvoke

2006-02-28 Thread Dave Watts
Does anyone else find it somewhat ridiculous the number of ways you can call a CFC? Not at all! cfscript obj = createobject(...);/cfscript cfset obj = createobject(...) cfinvoke ... cfobject ... using any of the above methods, you can call it like a web service call it directly from

Re: cfscript or cfinvoke

2006-02-28 Thread Josh Nathanson
Subject: RE: cfscript or cfinvoke Does anyone else find it somewhat ridiculous the number of ways you can call a CFC? Not at all! cfscript obj = createobject(...);/cfscript cfset obj = createobject(...) cfinvoke ... cfobject ... using any of the above methods, you can call it like a web