ColdFusion

Private variables in CFCs

Submitted by Falken on Tue, 11/21/2006 - 19:21
Sections
My least favorite bit of ColdFusion objects (CFCs) came up again toay on CF-Talk:
<cfset var foo = "bar">

<cfset foo = "foo">

These two function-local variables may or may not be the same thing, and the latter may or may not get confused (randomly change value or vanish) without the former.The chance of this happening increases the more concurrent calls to the CFC there are.

CFDevCon: LIVE

Submitted by Falken on Fri, 11/10/2006 - 01:00

Technology willing I'll be posting updates here every few hours over the course of Thursday conference. LiveJournal readers will need to check my real blog, sorry.

8:30: Met Ben Forta in the lobby, got checked in nice and quick, now watching the huge tele being built and apraising the swag

CFEclipse Update

Submitted by Falken on Fri, 11/03/2006 - 09:26

Mark Drew has a nice little post over on the CF-Talk mailing list about what's coming up in the ColdFusion add-on for Eclipse - CFEclipse.

Cool new featues to come post the soon to be released 1.3 are CFC inspection ('if it can find it, it can hint to you what the methods and arguments are') and hints for method-local variables. These are all features considered core in something like the Idea Java IDE, and will help a lot.

Debuging Flex remoting to ColdFusion

Submitted by Falken on Thu, 07/27/2006 - 12:15
Apparently nowhere else is this mentioned, but if you get errors from Flex 2 applications saying :

[MessagingError message='Unknown destination 'ColdFusion'.']' faultDetail:'Couldn't establish a connection to 'ColdFusion'

One of the first things you might try is opening up the services-config.xml you compiled against, and finding the part of the channel definition that says:

uri="http://{server.name}:{server.port}{context.root}/flex2gateway/"

and setting actual name, port and context root values there. Then recompile and try again.