Using ColdFusion CFCs to return data to DataTables 1.8.2
Just a quick post, more as a reminder for myself really, about a quick an easy way to return a query via ajax and easily load into a DataTable. Simple CFC function: <cffunction name="GetUsers" access="remote" output="false" returntype="any" returnformat="json"> <cfquery name="local.qryUsers" datasource="dsn"> SELECT id, name, surname, email FROM tblUsers </cfquery> <cfscript> local.strData = StructNew(); local.strData['aaData'] =...
read moreUpdating DataTables display orders by drag and drop
Using the DataTables plugin for jQuery? In my opinion its the easiest to use datatable plugin with great built in functionality, however, i came across a situation that needed to have display orders for data in the table (think CMS data tables and ordering of records for front end use). DataTables doesnt have that functionality built in. jQuery UI to the rescue! My basic datatable markup with data built via a cfoutput query: <table id="myQueryList" class="datatable-display" border="0" cellspacing="0"...
read moreCampaign Monitor CFC – Update 1.1
Just a quick post to let you know that i’ve just updated Campaign Monitor CFC on RiaForge to the latest version of the CFCs. The update includes 6 new functions for managing custom fields for lists and subscribers. Functions added: campaign-monitor.cfc – ListCustomFieldTypes lists.cfc – ListAddCustomField lists.cfc – ListCustomFields lists.cfc – ListDeleteCustomField subscribers.cfc – AddSubscriberCustomFields subscribers.cfc – AddResubscribeSubscriberCustomFields If anyone is using this wrapper,...
read moreSOTR2010 – Links
Just a quick list of links to Presentations, Slides and Code examples all provided by the speakers from SOTR 2010. Keynote – Terry Ryan Coldfusion Application Framework – Ben Nadel HTML5 & CSS3 – Chris Mills The art of emotional of design – Aral Balkan * Extending ColdFusion Builder – Raymond Camden Two CFBuilder Extensions – Raymond Camden Getting ready for the mobile revolution – Serge Jespers Cloudy with a chance of Clustering – Mark Drew Productive work environment / practices –...
read moreSOTR2010 – Day 2
So, unfortunately, Scotch on the Rocks is over for 2010! I’ve had a great couple of days, met a few people from Twitter that i often tweet, met a couple of my idols and learnt a hell of a lot about things going on in the ColdFusion world! So a brief rundown of the things i’ve learnt/enjoyed at the second and final day… Get ready for the mobile revolution – Serge Jespers This session really has inspired me to get into mobile application development and look into learning flash/actionscript and flex. His session went into...
read moreSOTR – Day 1
A brief overview of what i’ve learnt / taken away from day one of Scotch on the Rocks. Adobe Keynote – Terry Ryan The keynote for me was very interesting, Terry Ryan gave a brief overview of new bits and pieces of ColdFusion 9 including ORM which i think i definately need to look into and learn. He also mentioned things about ColdFusion 9.0.1, such things as fuller cfscript support and also mentioned a ‘top secret’ development, Amazon S3 support, which could be extremely handy! Mastering the ColdFusion Application...
read more


