2009

You are browsing the archive for 2009.

Efficient Caching With mod_rewrite

Caching with mod_rewrite?  What?  I'll admit it's a slightly misleading title; the cache is actually a disk cache, but mod_rewrite is where the magic happens.  Bear with me for a moment…
Most content on the web is fairly static.  Some of it changes every few minutes, some changes every few hours, some changes a few times [...]

Minor FB3lite Update (and a Weird CF Bug)

This evening while adding some reporting to PotD (NSFW, OMM) to help nail down some performance issues that I think are Apache's fault, I noticed a strange issue with FB3lite.  If you've used it, you know the core of the "framework" are the do() and include() UDFs.  Both contain a CFINCLUDE tag, and a weird [...]

CFGroovy And Script Output

One final CFGroovy update for cf.objective() 2009, and then heading to a plane.
In the first version of CFGroovy output generated by your script was discarded.  This fit the original concept behind scriptlets well, but it made debugging kind of a pain, because you had to exit the script in order to dump out any state.  [...]

PotD For The World

Last night was sort of the release of Pic of the Day (not safe for work, or my mom) into the wild.  The project is a couple months shy of five years old, and while I've talked about it obliquely all over the place, I've never really publicized it directly.  I'd made the assumption that [...]

CFYourFavoriteLanguage (Formerly CFGroovy)

CFGroovy grew some wings this afternoon.  It retains it's core functionality of running Groovy code in a CFML environment, whether you have it installed on your classpath or if it's transparently loaded from the local copy of the JAR.  However, it now supports any JSR 223 scripting language as well (assuming you're on a 1.6 [...]

More CFGroovy2 Goodness

Last night at dinner I was talking with Mark Mandel and Luis Majano and realized I'd completely misunderstood the way JavaLoader worked based on my initial look see.  So for the price of 21 additional lines (nine of which are purely for misbehaving CFML runtimes), CFGroovy will transparently load an internal copy of Groovy if [...]

CFGroovy in Forty Lines

It's been a couple months since I've done anything with CFGroovy.  I've been mulling how to get back to the essence, which is Groovy scriptlets in CFML.  Today at cf.objective() I put my fingers back on the keyboard for the first time.  Here's a full implementation of the tag in 40 lines.  There are [...]

Random ColdSpring Weirdness

Just had a totally random thing happen with ColdSpring.  I'm a big fan of the use-advice-as-advisor shortcut when you want to proxy every method on a bean.  I use it all over the place.  Tonight, however, it completely failed.  No idea why.  This app (PotD) has been running with the same version of ColdSpring for [...]

Das "Most Disappointing" Keyboard

Das "Most Disappointing" Keyboard

As you probably know, I got a Das Keyboard a little while ago, because my previous keyboard, which I liked very much, started getting a couple sticky keys.  I'll freely admit I'm a keyboard snob, but I don't think it's terribly unreasonable given how much time I spend typing.  Unfortunately, Das Keyboard has proven to [...]

NaturallyCarolicious.com Is Live

One of my WordPress projects was helping a friend move her blog from TypePad over to a self-hosted WordPress with a shiny new domain name: naturallycarolicious.com.  As of today she's made the official "welcome" post, and the new site is running like a champ.  She's still some design stuff, but that's just icing on the [...]