Shaun Mccran

My digital playground

22
D
E
C
2010

Filtering a SELECT field using AJAX and JQuery

I'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.

This article shows you how to do this, there is a demo of the select field using AJAX here: http://www.mccran.co.uk/examples/jquery_textfilter_selectfield/

[ More ]

01
N
O
V
2010

Securing server side Coldfusion code with cfcompile

If you ever need to protect your intellectual property, or you have suspicions that your code maybe be accessed on a server to be tampered with, then your best option is to compile your code base.

This article addresses how to use the cfcompile command, and what it actually does to your code base.

[ More ]

26
S
E
P
2010

JQuery AJAX Http polling example

I've been using the JQuery post() and get() functions for a while now, and thanks to decent Blog entries from other community members I've got my head around the principles of seamless AJAX http requests and response handling.

This article examines a way of creating a polling AJAX http request. This is a request that will run every N seconds based on a value. It will hit a remote service and return a result, and display that result on screen.

View a full demo of an AJAX polling request here.

[ More ]

14
S
E
P
2010

Cookies in ColdFusion - cfcookie or cfset?

Cookies are a platform independent scope, by this I mean that even though we can create and manipulate them in ColdFusion, they are not inherently ColdFusion technology. Cookies are ideal if you want to access data at a browser level, in ANY technology, (cfml, asp, javascript etc), and they are also a good way to store non critical data on a users browser. They basically work by sending their data to the browser instance, to be used as temporary storage.

ColdFusion can create, edit and delete cookies quite easily, but what are the functional differences in how you create them? Is one way better than another?

[ More ]

_UNKNOWNTRANSLATION_ /