<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Blog of Shaun McCran - Architecting robust, elegant technical and business solutions - RIA</title>
			<link>http://www.mccran.co.uk/index.cfm</link>
			<description>I write about Architecture and Design, Architectural patterns, Architectural Principles and Architectural policies. This includes TOGAF, Zachman, Business Architecture, SOA and Process and tools such as the IBM Rational software and Adobe products. I also write about my previous life as a mobile and web developer.</description>
			<language>en-gb</language>
			<pubDate>Tue, 09 Jun 2026 06:48:16 -0000</pubDate>
			<lastBuildDate>Mon, 06 Feb 2012 07:13:00 -0000</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>shaun@mccran.co.uk</managingEditor>
			<webMaster>shaun@mccran.co.uk</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>shaun@mccran.co.uk</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>JQuery auto resize input field Plugin example</title>
				<link>http://www.mccran.co.uk/index.cfm/2012/2/6/JQuery-auto-resize-input-field-Plugin-example</link>
				<description>
				
				I was looking for a simple way to make an existing Text Area form field expand as-and-when a user fills in enough information to reach to bottom edge of the form element.

James Padolsey has written a great little Auto resize function, you can get it from Github here: &lt;a href=&quot;https://github.com/padolsey/jQuery.fn.autoResize&quot; target=&quot;_blank&quot;&gt;https://github.com/padolsey/jQuery.fn.autoResize&lt;/a&gt;. 

The documentation in the example included with the download above is pretty good, but I&apos;ve put up an example of it working here as well:

&lt;a href=&quot;http://www.mccran.co.uk/examples/text-area-expander/&quot; target=&quot;_blank&quot;&gt; JQuery Auto resize Textarea plugin example&lt;/a&gt;
				
				</description>
				
				
				<category>JQuery</category>
				
				<category>RIA</category>
				
				<pubDate>Mon, 06 Feb 2012 07:13:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2012/2/6/JQuery-auto-resize-input-field-Plugin-example</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Dynamically tagging content with Keywords using JQuery</title>
				<link>http://www.mccran.co.uk/index.cfm/2012/2/1/Dynamically-tagging-content-with-Keywords-using-JQuery</link>
				<description>
				
				I&apos;ve used a ticketing system called Lighthouse App for a while now, and one of the features I really like about it is its ability to tag content with keywords in a very easy and obvious fashion.

If you have ever wanted to tag an article or some content with a list of Keywords then this blog article is for you.
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Wed, 01 Feb 2012 08:22:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2012/2/1/Dynamically-tagging-content-with-Keywords-using-JQuery</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery Sortable Drag and Drop lists and a server side AJAX save</title>
				<link>http://www.mccran.co.uk/index.cfm/2011/6/17/JQuery-Sortable-Drag-and-Drop-lists-and-a-server-side-AJAX-save</link>
				<description>
				
				I was recently asked this question about creating and using elements with the JQuery drag and drop functions:
&lt;p&gt;

&lt;code&gt;

Shaun, I&apos;d like to be able to drag items (let&apos;s say grocery items) onto a list (let&apos;s say a grocery list) using JQuery and PHP to process and save the list. I found you drag and drop tutorial but I want the droppable to be in a list form. Is this easy?

&lt;/code&gt;
&lt;p&gt;
This article explains how you can use a few JQuery interactions to create a sortable drag and drop list and save its state to a server side processing template.
&lt;p&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Fri, 17 Jun 2011 07:19:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2011/6/17/JQuery-Sortable-Drag-and-Drop-lists-and-a-server-side-AJAX-save</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery datatable with added FancyBox and auto refresh</title>
				<link>http://www.mccran.co.uk/index.cfm/2011/5/19/JQuery-datatable-with-added-FancyBox-and-auto-refresh</link>
				<description>
				
				Recently I&apos;ve had a few questions about how to use the datatables plugin to display data, and also integrate a pop up or lightbox function. The pop up would have an edit form in it, and when the user completes the edit the light box goes away and the datatable refreshes.
&lt;p&gt;
This is relatively straightforward to do, but there are several key concepts to getting everything working correctly, so I&apos;ve broken it down into a few chunks.
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Coldfusion</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Thu, 19 May 2011 22:11:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2011/5/19/JQuery-datatable-with-added-FancyBox-and-auto-refresh</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery Drag and Drop to multiple div elements</title>
				<link>http://www.mccran.co.uk/index.cfm/2011/3/24/JQuery-Drag-and-Drop-to-multiple-div-elements</link>
				<description>
				
				My only previous experience with Drag and Drop web development was with Flex 2, which I have to say was a bit of a nightmare. There was an astronomical amount of setup to do in terms of event listeners and mouse watching services, so I was reluctant to get back into &apos;Drag and Drop&apos; with any other technology.
&lt;p&gt;
This article explains how straight forward the JQuery Drag and Drop interfaces are to use, and how I constructed a Drag and Drop example using multiple divs.
&lt;p&gt;
There is an example of a JQuery Drag and Drop demo here. &lt;a href=http://www.mccran.co.uk/examples/jquery-drag-drop target=_blank&gt; http://www.mccran.co.uk/examples/jquery-drag-drop &lt;/a&gt;
&lt;p&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Thu, 24 Mar 2011 21:58:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2011/3/24/JQuery-Drag-and-Drop-to-multiple-div-elements</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Using the JQuery Tooltip plugin to enhance title attributes</title>
				<link>http://www.mccran.co.uk/index.cfm/2011/2/27/Using-the-JQuery-Tooltip-plugin-to-enhance-title-attributes</link>
				<description>
				
				The title tag attribute is a modern staple of any developers html code base. Most of us use them, more of us should use them more. I&apos;ve learnt more recently that they have wider implications for Accessibility users, but I&apos;ve also come to change my thinking of their use.
&lt;p&gt;
This article shows how you can use the JQuery tooltip plugin to enhance the title attribute, and how the title tag can be used to convey a more useful message to your browsers.
&lt;p&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>RIA</category>
				
				<pubDate>Sun, 27 Feb 2011 21:19:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2011/2/27/Using-the-JQuery-Tooltip-plugin-to-enhance-title-attributes</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery scrolling within a Div</title>
				<link>http://www.mccran.co.uk/index.cfm/2011/2/5/JQuery-scrolling-within-a-Div</link>
				<description>
				
				Ever wanted to have your page content scroll based on user interaction? In this article I&apos;ll show you how to create a simple JQuery scrollable area that will allow users to click on &apos;next&apos; style links to view more information. I put this together as most of the JQuery scrolling articles out there deal with scrolling the entire page, but I just want to scroll inside a defined div element.
&lt;p&gt;
There is a demo of this here: &lt;a href=&quot;http://www.mccran.co.uk/examples/jquery-scrolling/&quot; target=&quot;_blank&quot;&gt; JQuery scrolling within a Div&lt;/a&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Sat, 05 Feb 2011 14:10:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2011/2/5/JQuery-scrolling-within-a-Div</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Filtering a SELECT field using AJAX and JQuery</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/12/22/Filtering-a-SELECT-field-using-AJAX-and-JQuery</link>
				<description>
				
				I&apos;ve got a select form field, and I want it to change based on a search string that someone enters. Luckily for me the select field is dynamically driven from a database, so the most obvious way for me to do this is to make an AJAX post request using the string entered to amend the SQL query building the field.
&lt;p&gt;
This article shows you how to do this, there is a demo of the select field using AJAX here: &lt;a href=&quot;http://www.mccran.co.uk/examples/jquery_textfilter_selectfield/&quot; target=&quot;_blank&quot;&gt;http://www.mccran.co.uk/examples/jquery_textfilter_selectfield/&lt;/a&gt;
&lt;p&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Coldfusion</category>
				
				<category>RIA</category>
				
				<category>AJAX</category>
				
				<pubDate>Wed, 22 Dec 2010 09:51:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/12/22/Filtering-a-SELECT-field-using-AJAX-and-JQuery</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>How to reload a JQuery Datatables table data, using the API</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/7/2/How-to-reload-a-JQuery-Datatables-table-data-using-the-API</link>
				<description>
				
				Since I found the JQuery dataTables plugin, I use it quite a lot. I think it&apos;s a great way to display tabulated data, and it provides simple easy to use pagination and filtering options.

I&apos;ve been building an interface to manage data, and arrived at the need to reload a datatable powered table, through a JavaScript request, rather than a page reload, or external variable (Url or form).

The problem with this is that if you try and re initialise a datatable into an existing datatable you get an error:

&lt;code&gt;
DataTables warning: Unable to re-initialise DataTable. Please use the API to make any configuration changes required.
&lt;/code&gt;

So you cannot re initialise an existing dataTable object. Looking through the &lt;a href=&quot;http://datatables.net/api&quot; target=&quot;_blank&quot;&gt; API methods&lt;/a&gt; there is a relatively straight forward fix.

&lt;code&gt;
if (typeof dTable == &apos;undefined&apos;) {

	dTable = $(&apos;#example&apos;).dataTable( {
	// data tables code
	&quot;bProcessing&quot;: true,
	&quot;bStateSave&quot;: true,
	&quot;bServerSide&quot;: true,
etc...
	aoData.push({ &quot;name&quot;: &quot;pageFilter&quot;, &quot;value&quot;: filterText });
	});
else
		{
			dTable.fnDraw();
		}
&lt;/code&gt;

This code is basically checking if the object &apos;dTable&apos; already exists, and if it is we are re drawing it, rather than using the existing object.

The fnDraw() method re-draws the table, so the data is refreshed. It uses the fnClearTable() method to first clear an existing data set, and the re draws it.

As an aside the &apos;filterText&apos; value is a JavaScript value set elsewhere (a select field) that I am sending through to my server side request. It is used in a simple where clause in a query.
				
				</description>
				
				
				<category>JQuery</category>
				
				<category>RIA</category>
				
				<category>AJAX</category>
				
				<pubDate>Fri, 02 Jul 2010 18:38:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/7/2/How-to-reload-a-JQuery-Datatables-table-data-using-the-API</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Xbox 360 Gamer Card App released on RIAforge.org</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/5/29/Xbox-360-Gamer-Card-App-released-on-RIAforgeorg</link>
				<description>
				
				After Scotch on the Rocks in London I was struck with how many developers are also gamers. It seems there are a lot of us who build applications for people, then go home and relax in front of an Xbox 360 Console. 

With that in mind I thought I would wrap up a service I have used in the past. A site, &lt;a href=http://www.mygamercard.net/ target=_blank&gt;http://www.mygamercard.net/&lt;/a&gt; provides a service where you can generate a graphic of your Xbox 360 account. They call this a Gamer Card, and it is available in a few different formats.

There is an example &lt;a href=http://www.mccran.co.uk/examples/gamercard/ target=_blank&gt;here&lt;/a&gt;

You can download the project here: &lt;a href=&quot;http://gamercard.riaforge.org/&quot; target=_blank&gt;http://gamercard.riaforge.org/&lt;/a&gt;
				 [More]
				</description>
				
				
				<category>XBox360</category>
				
				<category>RIA</category>
				
				<pubDate>Sat, 29 May 2010 23:46:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/5/29/Xbox-360-Gamer-Card-App-released-on-RIAforgeorg</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Scotch On the Rocks – day one review</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/5/25/Scotch-On-the-Rocks--day-one-review</link>
				<description>
				
				Monday was the first day of the &apos;Scotch on the Rocks&apos; 2010 Adobe conference (sponsored by Fuzzy Orange). I went along for a couple of reasons. To see what has been happening in the community, what development ideas people were throwing around as it is a bit of a two day think tank, and to put some faces to the Twitter accounts I&apos;ve been following.

This article is a breakdown of the first days seminars I attended, and some thoughts and considerations about the content on show.
				 [More]
				</description>
				
				
				<category>Scotch on the Rocks/Road</category>
				
				<category>Coldfusion</category>
				
				<category>General Interest</category>
				
				<category>Social media</category>
				
				<category>RIA</category>
				
				<pubDate>Tue, 25 May 2010 14:22:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/5/25/Scotch-On-the-Rocks--day-one-review</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Incredibly simple JQuery image change on mouse over effect</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/5/10/Incredibly-simple-JQuery-image-change-on-mouse-over-effect</link>
				<description>
				
				I was recently asked in conversation if it would be possible to have a list of items, and when a user mouse&apos;d over the headers in the list, an image effect happened, IE a thumbnail image was displayed. I figured this would be an ideal use for JQuery, so this article is how to write an incredibly simple JQuery image change.

There is a full demo of this here: &lt;a href=http://www.mccran.co.uk/examples/jquery_list_mouseover/index.cfm target=_blank&gt;JQuery mouse over demo&lt;/a&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Mon, 10 May 2010 11:56:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/5/10/Incredibly-simple-JQuery-image-change-on-mouse-over-effect</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery multiple show and hide div’s based on click event</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/5/4/JQuery-multiple-show-and-hide-divs-based-on-click-event</link>
				<description>
				
				This article shows how to use JQuery to show and hide many div&apos;s at the same time, revealing the content that the user requests. It also degrades gracefully if you turn off Javascript.

Have you ever tried to display a Questions and Answers type page, where the Question is a clickable link that shows the corresponding Answer (FAQ&apos;s)? It is quite tricky to make this interesting, and Accessible to impaired users.

A full demo of multiple show and hide divs is here: &lt;a href=http://www.mccran.co.uk/examples/multishowhide/index.cfm target=_blank&gt;link&lt;/a&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Accessibility</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<pubDate>Tue, 04 May 2010 15:59:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/5/4/JQuery-multiple-show-and-hide-divs-based-on-click-event</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>How to stop FCK Editor wrapping your content with &apos;P&apos; tags</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/5/4/How-to-stop-FCK-Editor-wrapping-your-content-with-P-tags</link>
				<description>
				
				Whilst testing a website for WCAG 2 Accessibility compliance I noticed that all my dynamic content from a database was wrapped in the HTML &apos;P&apos; element.

The functionality that put the content into the database was a rich text area using the inbuilt FCK Editor. This article deals with how to stop FCK editor wrapping your content in undesirable tags.
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>Accessibility</category>
				
				<category>RIA</category>
				
				<pubDate>Tue, 04 May 2010 13:19:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/5/4/How-to-stop-FCK-Editor-wrapping-your-content-with-P-tags</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>JQuery Datatables plugin example using a server side data request (coldfusion)</title>
				<link>http://www.mccran.co.uk/index.cfm/2010/4/29/JQuery-Datatables-plugin-example-using-a-server-side-data-request-coldfusion</link>
				<description>
				
				Im my previous article on how to use the JQuery datatables plug I concentrated mainly on the JQuery script, and how to build the AJAX request to receive a JSON response. 

In this article I will demonstrate the full application which will include the front end JQuery, building the back end server response and a few tips that I&apos;ve picked up since implementing the plugin. I am using an MS SQL table filled with UK location data that I also used for a weather webservice, to fill the table.

A full example of this working can be seen here: &lt;a href=http://www.mccran.co.uk/examples/datatable/index.cfm target=_blank&gt;Data table server side example&lt;/a&gt;
				 [More]
				</description>
				
				
				<category>JQuery</category>
				
				<category>Coldfusion</category>
				
				<category>Javascript</category>
				
				<category>RIA</category>
				
				<category>Json</category>
				
				<category>AJAX</category>
				
				<pubDate>Thu, 29 Apr 2010 18:04:00 -0000</pubDate>
				<guid>http://www.mccran.co.uk/index.cfm/2010/4/29/JQuery-Datatables-plugin-example-using-a-server-side-data-request-coldfusion</guid>
				
				
			</item>
			
		 	
			</channel></rss>