Posts Tagged ‘coldFusion
Drag and Drop Sorting with CFAjaxProxy and Script.aculo.us
I made a video player recently containing a list of videos. My client requested the ability to put them in a custom order. It didn’t take much research to find the functionality in the Script.aculo.us library. The question was, how do I implement it with ColdFusion?
I knew I would need AJAX functionality and, up to [...]
CFQUERYPARAM with LIKE and IN Clauses
ColdFusion’s CFQUERYPARAM tag is important for several reasons, most notably data type validation, improved query performance, and foiling SQL injection attacks.
Basic usage is simple:
SELECT *
FROM tblCustomers
WHERE customer_id = <cfqueryparam value=”#FORM.custID#” cfsqltype=”cf_sql_integer”>
The cfsqltype parameter validates the passed value before it is sent to the database server. Once validated, the query is sent to the database [...]
Use <CFIMAGE> to Generate Temporary Thumbnails
I’m wrapping up a sizable project that required 200×200 thumbnails for about two thousand pieces of content. The agency I’m working with required properly-sized thumbnails to proceed with their testing. Unfortunately, thumbnails did not exist at that point.
ColdFusion <CFIMAGE> to the rescue!
By using <CFIMAGE>, I was able to generate thumbnails for every piece of [...]


