coldfusion

Software Aging

With technologists (aka "geeks"), there is often a "latest and greatest is best" mindset that pervades the psyche. I'm certainly guilty. It's worth keeping in mind that just because something is newer, more feature rich, along a defined upgrade path, etc., doesn't necessarily mean you should switch. A standout example of this [...]

Weird CFLOOP Quirk

I don't use CFLOOP with the condition attribute very much, and when I do, it's usually for simple stuff like a 'while true' loop. However, I ran into a weird quirk today with it, and thought I'd share. Take this code:

[cfloop condition="count LT #config.MAX_IMAGES_PER_IMPORT#">...

Pretty simple, right? As you undoubtedly know, CFLOOP evaluates [...]

ColdSpring Presentation

Last night I presented at the Portland CFUG/ASUG about ColdSpring. There were at about 25 people in attendance, both in the room and watching via Breeze. Here's a link to my presentation files, and Sim will be posted them to the PDXCFUG site as well. He'll also put up a link to [...]

ColdSpring at PDXCFUG Tomorrow Night

Tomorrow evening I'll be presenting on ColdSpring for the Portland CFUG/ASUG. Festivities start at 5:30 with pizza and socializing, with the meeting proper starting at 6. In my mind, ColdSpring represents one of the top three events in ColdFusion's world, along with Fusebox 3 (the first "real" CF framework to enjoyed widespread [...]

Transaction Advice

As I've alluded to a couple times, I've put together a transaction advice implmentation for ColdSpring that uses the built-in AOP framework to transactionalize your service method invocations.  No more CFTRANSACTION tags in your code, and no more having to jump through hoops to avoid nested transactions with delegating calls in your service layer.  Just [...]

Another ColdSpring Gotcha

Found another gotcha with ColdSpring yesterday.  Chris confirmed it as a bug on the mailing list, but thought I'd share here as well.  If you have a circular dependancy between two proxied beans, the dependancy is only "half" resolved.  That is, one bean will get a correctly proxied object injected, but the other will get [...]

A Couple ColdSpring AOP Gotchas

I've been playing with ColdSpring a little on one of my personal projects, and ran into a couple gotchas that I thought I'd share.
First, if you use dynamic default values on method arguments (e.g. <cfargument name="createDate" default="#now()#" />), when ColdSpring proxies that method, the default will be converted to "[runtime expression]".  This isn't ColdSpring's fault, [...]

More Batik Goodness

Last October I posted about using ColdFusion and Batik together to convert dynamically generated SVG content into PNGs for easier consumption. Well thanks to a little more digging and a post by Christian Cantrell, I've improved upon it further.
<cfscript>
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
response.setContentType("image/png");
transcoder = [...]

EmailReader Details

Nathan Strutz commented on my last post about EmailReader that he didn't "get" it.  Looking back, I realized I didn't bother to communicate it's purpose very clearly in my post, so here's another one that should do a better job.
EmailReader is designed for being run from a scheduled task to do "something", where "something" is [...]

EmailReader CFC 0.1 Nearing Completion

The first feature complete version of my EmailReader component is nearing completion.  I've got it all working with the exception of attachment and message deletion, and it's looking pretty nice.
I'd originally planned on making it an "abstract" base class that you would extend to add your application-specific functionality.  However, like so many initial designs, further [...]