News by Raymond Camden

Ask a Jedi: Does ColdFusion have a htmlfoot tag?

30 Apr 22:15
Rob asks: Is there a <cfhtmlfoot> tag? One that would write at the end of html file, before </body> tag... In case folks don't get why he is asking, ColdFusion comes with a cfhtmlhead tag that lets you dynamically add stuff to the HEAD portion of an HTML document. There is not a corresponding tag like what Rob wants, but there is no reason we can't hack one up in a custom tag. My solution will make use of both the Request scope and the oft-maligned (by me) onRequest function.

Ask a Jedi: Copy session values from one application to another

30 Apr 01:00
Chong asks: I am trying to copy a session variable from one application scope to another. Could you please enlighten me if this is possible and what is the best practise method for doing so?

Presentation tonight on ColdFusion and Open Source

29 Apr 22:29
Tonight I'll be presenting to KCDevCore on ColdFusion and Open Source. The meeting starts at 6:30 CST (Cool Standard Time), but I'm going on around 7:15ish. The online URL is http://adobechats.adobe.acrobat.com/kcdevcore. If you can drag yourself away from GTA4, please join me! (And no, I don't have my copy yet, and no, I'm not happy about that!

LighthousePro Updated

29 Apr 02:33
Just a quick note to let folks I released a small update to LighthousePro, my ColdFusion-based issue tracker. The updates include: I finally got off my lazy rear and changed Loci/Locus to Areas/Area. I don't know why I took so long since no one knew what Loci meant. In Application.cfc, I added code to check for the attachments folder and create it if it doesn't exist. Fixed some bugs in the main project view, and I now allow you to filter to a ID number.

Reader looking for UK-based (or related) Reseller

28 Apr 22:37
I'm just passing this on. I don't like to get into the 'find me a host' type conversations as it isn't an area I'm experienced in (and like religion, it has no final answer), but I figured this request was specific enough where maybe some of my Europ...

Transfer 1.0 RC is Out

28 Apr 20:07
Just a quick note to spread the news that the 1.0 Release Candidate of Transfer is now released. You can find out more about this release and the future of Transfer at the blog entry I just linked to.

ColdFusion/SlideShare integration tip

26 Apr 00:49
I'm doing some work integrating SlideShare with ColdFusion. SlideShare has a rather simple API, but no matter what I did, I kept getting an API failed validation. Turns out the error was rather simple. Part of the API requires you to hash a secret key and a Unix time stamp. My code looked like so: Turns out the result needs to be in lowercase for it to work right. When I lcased the result, the API started working immediately.

Ask a Jedi: Caching Stored Procedures

25 Apr 22:31
Seth asks: Just a quick question regarding Stored Procedures. So recently I have been dealing with some SP's that take up to 4 seconds to run , it can be annoying. So I wanted to know is there an effective way to cache SP's in CF 8, or do I have to convert them to CFC's and use a standard inline query. So first off, the cfstoredproc tag does not have a cachedwithin or cachedafter attribute.

Real men write their own forms (or do they?)

25 Apr 01:36
I have to admit that I'm kind of a - dare I say - diva - when it comes to forms. I prefer to type them out and do all the validation by hand. In the past I've written form 'helpers' to handle generating and validating forms (*), but I haven't done th...

Ask a Jedi: Using JSON in older versions of ColdFusion

24 Apr 22:53
A user just wrote in asking how to handle working with JSON in a pre-ColdFusion 8 server. What I recommend is the code I use for LighthousePro - CFJSON. This will work in any MX and higher server. There are other options out there I'm sure, but I've been pretty happy with this CFC.
Pages   ← previous   next