Using Java Regular Expressions In CFML

While doing some regex stuff today I discovered that both ColdFusion and Railo use an external regular expression engine for the REReplace function instead of the one built into the core JRE (the java.util.regex.* classes).  I don't think I've ever had a reason to care until now, but today I was stuck.  Fortunately, since CFML [...]

CFGroovy is Self Executing

Tonight I finished porting the internals of CFGroovy from CFML to Groovy.  Yes, the CFGroovy core is now implemented in Groovy.  The remaining CFML code is for managing the public API (which is a CFML API and therefore must remain CFML),and for bootstrapping the Groovy core.
This architecture provides a number of benefits, primarily a huge [...]

Why You Should Care About Groovy

If you know anything about me, you probably know that I'm a big fan of Groovy.  But why?  I've never really addressed that question head on, I don't think, so I'm going to do that here (prompted by a comment from David McGuigan on my CFGroovy 1.0 post).
First, Groovy is a dynamic language for the [...]

New CFGoovy Demo App

This afternoon I threw together a little blog demo app for CFGroovy.  It's really simple, but it illustrates some more advanced usage.  In particular:

The app uses ColdSpring to wire everything together and obtain transaction management with AOP, instead of having to code your transactions manually.
Entity relationships (as well as composition) with both direct and transient [...]

Running CFGroovy on in a Hibernate-Aware Environment

In my last post I mentioned the issue with using CFGroovy's Hibernate when Hibernate is already loaded by the app server, such as the case with JBoss 4.2+ and a certain unreleased CFML runtime (cough … Centaur … cough).  The gist of it is that Hibernate appears to create some static references to itself that [...]

CFGroovy 1.x Features

It was a big weekend for CFGroovy.  In addition to the 1.0 release, I started doing some work for the 1.x series (which is available in the trunk).  There are several significant changes to  the engine:

Groovy has been upgraded to 1.6.0 from the previous 1.5.6 version.
You can specify a custom Groovy JAR for your CFGroovy.cfc [...]

CFGroovy 1.0!

After a lengthy burn in period, I've officially released CFGroovy 1.0.  It is identical to CFGroovy 1.0RC3, so if you're running that version there is no need to upgrade.  You can get the 1.0 engine binaries, 1.0 demo binaries (including the engine), view the 1.0 tag in Subversion (engine or demo), or visit the project [...]

The Cookie Militia

The Cookie Militia

Saw this on pictureisunrelated.com and had to share:

Open Pandora

Based on several suggestions after my last post, I gave OpenPandora another try.  So far it's been pretty stable and handles the new player layout correctly.  Nice to have my keyboard shortcuts back, though it does occasionally throw up "do you want to debug this error" dialogs (from Visual Studio, I'm guessing?).  But working well [...]

Pandora Bookmarklet

Ever since Pandora prevented accessing the miniplayer directly a few months ago, I've been using a little bookmarklet to fake it.  Set http://pandora.com/ as my IE homepage (about the only thing I use IE for) and put the bookmarklet in my links bar to click immediately after launch.  Net result: a perfectly sized window, hiding [...]