By barneyb on June 23, 2008
I occasionally get questions about licensing my code for inclusion in other projects. I thought I'd make a blanket statement that all my code can be assumed under the Apache 2 license unless otherwise indicated. For where it's not explicit, just drop me a line if you need formal licensing, and I'd be happy to [...]
Posted in development, meta
By barneyb on June 19, 2008
As is typically the case, CFUNITED has a pair of themes. There's the conference theme, which, as always, is helping CF coders become more empowered by learning about new things (OO, using CFCs, learning frameworks, etc.), and then there's the "backtheme". This year it's all don't use only CF. Adobe's integrating Hibernate into CF9, Railo [...]
Posted in bluedragon, cfml, coldfusion, development, grails, groovy, personal, railo
By barneyb on June 13, 2008
I don't know about anyone else, but wanting to create little ad hoc Java classes in my CF apps in a common occurrence for me. With my CF Groovy project, it's both possible and very easy. No Java, no compiling, no classloading hacks.
Here's a simple example. I'm going to create an array of structs and [...]
Posted in cfml, development, groovy
By barneyb on May 8, 2008
If you use ColdFusion (or another Java-based CFML runtime), you should be using Java. There's a reason that CF uses Java under the hood: Java is incredibly powerful. Yes the interface to Java from the CF level is cumbersome and creating hybrid CF/Java applications pretty much costs you CF's RAD capabilities, but there [...]
Posted in coldfusion, development, java
By barneyb on May 7, 2008
Since I discovered it a few years ago, I've been a big Prototype fan. It's simple, and gets the job done with a minimum of fuss. It's not without warts, of course. I still occasionally forget to put 'new' in front of Ajax.Request, and some of the Ruby-like methods share their lineage's arcane naming. When [...]
Posted in ajax, development, javascript, tools
By barneyb on April 29, 2008
The past month or so has seen quite a few improvements and bug fixes to FlexChart, though I haven't blogged about any of them. Most notably, there was a weird NPE that manifested itself when loading a Pie chart via FlashVars. For some unknown reason, Flex/Flash didn't give any indication the error was occurring, it just silently [...]
Posted in development, flex, tools
By barneyb on April 24, 2008
I've a large application that has a as a major component rank-based prioritization of assets. Users rank the assets on a one-to-five scale, and then that rank data is used to select other assets of interest for the user. If you've seen Amazon's "Recommended for you" or Netflix's recommended titles, you get the [...]
Posted in development, tools
By barneyb on April 8, 2008
Ben Nadel posted about compiling multiple linked files (JS/CSS) into a single file this morning, and he does it at runtime. I commented about doing it at build-time instead, and a couple people were wondering more, so here's a brief explaination.
The first part is a properties file (which can be read by both Ant [...]
Posted in coldfusion, development
By barneyb on April 7, 2008
This weekend I ported my big filesystem-based app to S3, and it went like a dream. It's a image-management application, with all the actual images stored on disk. In addition to the standard import/edit/delete, the app provides automatic on-the-fly thumbnail generation, along with primitive editing capabilities (crop, resize, rotate, etc.). With images [...]
Posted in amazon, coldfusion, development
By barneyb on April 4, 2008
Brian Rinaldi posted on his blog about dummy queries in CF 8.0.1, and it struck me as a weird solution. So here's a drop-in replacement, that I think works in a more reasonable fashion, and doesn't have any dependency on an existing DSN.
<cffunction name="dummyQuery2″ access="public" output="false" returntype="query">
<cfargument name="queryData" type="struct" required="true" />
[...]
Posted in coldfusion, development