Archive for the 'CFML' Category

e4x for ColdFusion, sort of…

Tuesday, May 17th, 2011

Coming from a Flex background I can’t imagine working with XML and not having e4x available. As you most likely know ColdFusion doesn’t have support for this fantastic notation. It has it’s own, clunky syntax for accessing XML elements within the document and an XmlSearch() function to query the document with XPath. I used to [...]

ColdFusion 9 crashing? Try different garbage collection

Thursday, March 24th, 2011

For the ICS application we are using ColdFusion 9. For quite a while we had a major problem. Our CF server kept crashing at least once a day without any warning. One minute it was running just fine, 30 seconds later all memory was consumed (3GB assigned for the JVM). Server was totally becoming unresponsive [...]

ColdFusion compiler is broken

Tuesday, September 22nd, 2009

Following on a tweet from Sean Corfield, I couldn’t believe it is possible to create a function called if, else, while and so on as well as declare variable called var. Here is the code that may hurt your head: [sourcecode lang="cf"] <cffunction name="if"> <cfargument name="val1" /> <cfargument name="val2" /> <cfif val1 eq val2> <cfreturn [...]

ColdFusion to Flex serializer needs better error messages

Wednesday, September 2nd, 2009

I’m using Flex with ColdFusion for a long time now but sometimes I really can’t stand these two products together. I’m sending nested CFCs through the remote object back to Flex so ColdFusion has to serialize them to the form that may be understood by Flex. But I’ve got an error, somewhere I have an [...]

Railo, BlazeDS and CFC instances

Monday, April 20th, 2009

There is a lot of buzz recently around Railo since version 3.1 finally went open source and many well known CF developers joined the project. This gave me the motivation to finally see how Railo really works. I decided to give it a shot on one of already running applications. The choice was made, I [...]

Local function variables and parameters in ColdFusion and Railo

Thursday, April 16th, 2009

Today I was doing some heavy refactoring on a project I am working for quite a long time. Moving methods, changing arguments, removing unnecessary CFCs. We are using PDF and XML merging so the project utilizes Adobe ColdFusion. Now, I am using Adobe CF for like 7 years now, I thought I know it well. [...]