Here’s a little method I wrote to merge a CF list into an existing array.
Today I’m working on decreasing execution time on a script that does a couple DB querys and cfdirectory lists. After some preliminary testing my gut perception has proven true; the exorbinate execution time is due to cfdirectory. So I set out to find a faster way of getting file information from directories and sure enough [...]
Look below for a little function I wrote to convert an array to a query. I had to write this to allow for my use of java.io.File.list() rather than cfdirectory due to speed limitations of the latter. More on that with benchmarks later here. /* * arrayToQuery * Allows us to convert an array into [...]
When you enable gzip, or deflate, compression on your server one side effect is your existing cfhttp requests will show “Connection Failure” even though you get an http 200 response. This is because Coldfusion doesn’t know how to decompress the response. Get get around this you need to tell the server to send an uncompressed [...]
I love dark themes and really wisth CFEclipse installed with one standard. Found this great post from Craig Kaminsky on easily installing pre-made theme files. Check it out. http://craigkaminsky.me/cfeclipse-themerations