Wednesday, September 9, 2009

ListToQuery: My first CFLib submission

My first submission to CFLib.org has been approved and posted! Check it out: CFLib.org - listToQuery.

It is super-simple and does exactly what it says. I wrote it because I was working on a project which required a list be converted to a query, and I couldn't find any existing UDFs to do so.

If you find yourself in a similar situation, I highly recommend submitting your solution to CFLib.org. It helps everyone! Plus, it gives you priceless bragging rights.

On a side note: I was working on CouchDB for Coldfusion and ended up spending 3 hours writing a UDF that I planned to submit to CFLib. When I was done, I found EasySocket, which was submitted a week ago and is almost exactly what I wrote! If only I had searched CFLib for "socket" before writing my own UDF. How disappointing...