I've been using the AjaxCFC library for years. It's my preferred way of integrating Javascript and ColdFusion via AJAX. I've even modified it from its original form so that my implementation was strictly for integration with jQuery, only returns JSON...
I learned something new today. Using ROWNUM in an Oracle query, while it does limit the resultset to the number specified, does not limit it to the top n results. It’s basically a random sample because it appears that ROWNUM is calculated...
Speaking of ColdFusion DSNs, here's a fun code snippet. Want to see a list of DSNs that are currently set up on a box?
factory = createObject("java", "coldfusion.server.ServiceFactory").DataSourceService;
sources = {};
sources =...
Figured this one out by sheer, dumb luck.
driverManager = createObject("java","java.sql.DriverManager");
conn =...
I've had a task I assigned to myself open for some time now. I needed to figure out how to implement Flex/ColdFusion messaging for our clients. There were three (3) criteria for success:
It needed to integrate seamlessly with our existing Cairngorm...