Skip to main content


Showing posts from 2007

Attaching In-Memory PDFs to E-Mail

This is semi-old news but it's one of those things I didn't look into until I needed to do it. I'm working on a project right now and decided it would be extremely handy for me to generate a document with cfdocument, and in addition to writing the binary PDF data to the database (long story as to why writing it to disk isn't feasible in this case), I need to send the PDF as an attachment to an email.
A quick Google pointed me to an entry on Dan Switzer's blog (you may be familiar with Dan's qForms JavaScript form validation library), which in turn led me to an entry on Charlie Arehart's blog, and in the comments is a nice chunk of code by Jon Wolski that seems like it will do the trick. I haven't tested it thoroughly yet but on initial attempts it seems to work just dandy.
Anyway, just thought I'd point it out and also record it here for my own recollection, because I know six months from now I'll forget which project I did this on let …

Sys-Con's Sour Grapes

I want to highlight one little gem from Sys-Con's press release concerning their decision to stop publishing CFDJ:
"We have seen a rapid trend and move from ColdFusion to other emerging rich web technologies such as AJAX, Flex, and Silverlight," said Engin Sezici of SYS-CON Media. "We have been observing this migration most recently in the last twelve months."
Anyone who listens to Sys-Con as an authoritative source with respect industry trends is making a big mistake. The fact that Sys-Con is saying people are moving away from CF to other technologies such as AJAX, Flex, and Silverlight shows quite well that they don't know what the hell they're talking about, since these other technologies are not even the same type of technology as CF, not to mention the fact that CF plays extremely nicely with AJAX and Flex. Pure genius, Sys-Con. What's the matter, having trouble finding people who know what's going on who are willing to work with…

Tap Dancing On the Grave of CFDJ

Please note that the comments that follow are my own. When I refer to the CFDJ editorial board I am not speaking for anyone on the board, but am merely making reference to the general sentiment among some members of the board and the general direction things were headed on the board prior to the announcement that Sys-Con was ceasing production of CFDJ.
I find it simultaneously funny, irritating, sad, and wholly appropriate that I first learned of the demise of ColdFusion Developer's Journal in the blogosphere. I gave Sys-Con far too much credit thinking they might let the CFDJ editorial board, of which I was a member, know that they're killing the publication. Others have echoed many of the thoughts I have about the situation, but I do want to offer my own perspective as a former member of the editorial board.As Brian Rinaldi explained, the editorial board--such as it was--didn't serve as an advisory board at all, but rather was seen as a standing pool of free l…

What's So Funny 'Bout Peace, Love, and Understanding Design Patterns?

There have been some rumblings the last few days about the use of design patterns in the ColdFusion world, all of which seem to have been prompted by Brian Rinaldi's post on the Gateway pattern and its use (some say misuse) in ColdFusion. As usual with things of this nature the discussion got rather heated so I thought I'd add some fuel to the fire. The building's burning down anyway, so what the heck. Actually I love discussions like this because in my opinion anything that gets people this riled up is a good thing. When you question aspects of development at a very fundamental level you either come out of it with a completely different view, or it strengthens your beliefs in the way you're already doing things. Either way much is learned through the process.In any discussion of design patterns, we must first turn to The Holy Book of Design Patterns, namely Design Patterns: Elements of Reusable Object-Oriented Architecture by Erich Gamma, Richard Helm, Ralph…

"Invisible Software," RIAs, and ColdFusion

I saw reference to an article by Robert X. Cringely entitled "An AIR of Invisibility: Adobe has Microsoft in its sights" on Brian Rinaldi's blog, and I'm very glad I did. Robert Cringely is consistently one of the most insightful tech writers and thinkers working today, which is quite contrary to this kind of totally nonsensical, worthless garbage that seems to be the bulk of tech "journalism" online these days, so I'm always interested in what he has to say. In this particular article he discusses the concept of "invisible software," Adobe's products that fall strongly into this category (namely the Adobe Reader and the Flash Player), and what this may mean for the future of Rich Internet Applications as well as their extension onto the desktop.I strongly recommend reading Cringely's article, but to summarize, "invisible" software is software that is so ubiquitous that you don't even think about it anymore. It…