cfml

i wanna go wii, part three (FuzzyDates)

After a couple hours of packaging, I really need to go wii, so I threw one more little bit of code at Ben’s CFUNITED/Wii contest. This time it's a fuzzy date library with two UDFs: fuzzyDateFormat, and fuzzyTimespanFormat.  They do about what you'd expect (thing GMail's timestamp formatting or Trac's age formatting), and I [...]

i wanna go wii, part two (SchemaTool)

I've been using a little schema management tool for a while now, and thought I'd release it into the wild.  And I just submitted it to Ben's CFUNITED/Wii contest. The submitted build is available here, as well as on Ben's site (post-contest).
In a nutshell, the tool provides a home for storing all your schema [...]

i wanna go wii, part one (TransactionAdvice)

I relicensed my ColdSpring AOP transaction advice under the ASL and just submitted it to Ben's CFUNITED/Wii contest. The submitted build (with no significant changes aside from licensing) is available here, as well as on Ben's site (post-contest).

floatToFraction UDF

Someone on CF-Talk just asked about converting floating point numbers back to decimals.  Always one to enjoy a little abstract thought on a random topic during my lunch, I threw together a solution:
function floatToFraction(num, maxDenom) { var denom = ""; var numer = ""; var intPart = fix(num); var sigFigs = [...]

CFCDoc

I just got an email from another CF developer looking for the CFCDoc tool that Spike and I wrote a while back.  It's still available on Spike's site, but I've posted it here as well.
In a nutshell, it's a Javadoc-style tool for CFCs.  Unlike Javadoc, it doesn't generate a bunch of static HTML files, but [...]

CFEclipse 1.3 Beta

So I went to download the CFEclipse 1.3 beta today, and much to my chagrin, it requires Eclipse 3.2, which isn't even an official Eclipse release yet.  I really wanted the dynamic autocompletion stuff, but having to rebuilt my entire Eclipse installation is hardly worth it.  Maybe once it goes gold, but not for a [...]

CFPOP and Emailing Pictures to my Blog

I used CFPOP for the first time ever this evening.  Kind of surprising that I've never had occasion to use it in 6 years of full-time CF development, now that I think about it.  Once again, CFML makes it easy (or at least straightforward) to accomplish what is a horribly nasty task.
Anyway, I just got [...]

Persistance CFC Generators

Last week a couple friends (Sim and Chris) and I were taking about persistence mechanisms and the benefits of each.  Obviously there's the inline SQL route, which is the more performant, and the most cumbersome to maintain.  At the other end are abstract persistence frameworks such as Arf! or Reactor which are designed for ease [...]

cfusion_encrypt/cfusion_decrypt UDFs

I was using cfusion_encrypt and cfusion_decrypt today, and decided that even though they don't appear to be going anywhere, they might at some point, and dealing with it shouldn't be a big deal. I'm also pretty sure that BD doesn't have the functions. So I thought why not write my own?
<cffunction name="fusion_encrypt" output="false" returntype="string">
  <cfargument name="string" [...]

Designing an OO Backend

As follow-up for my 'Impetus for an OO Backend' post from a couple
weeks ago, I wanted to talk about some approach designing an OO
backend. Again, I'm going to attempt brevity and undoubtedly end up
being long winded, and I'm going to again intentionally skip
implementation details. Finally, there will be almost no mention of UIs
at all; I'm [...]