development

Sleepy Groovy

I just finished whipping up a quick little expense tracking app for Heather and me, and I'm again amazed at how wonderful the development experience is with FB3Lite, ColdSpring, and CFGroovy (Groovy and Hibernate for CFML).  When I was finished with the core functionality, I couldn't figure out where the app was.  There were my [...]

Even More Groovy

I have a confession to make.  My neat little code counter utility is partially a lie.  I wrote the entire thing as a single Groovy script, and only split it up into individual files for each class to release it.  271 lines of code (419 if you count the blank lines) simply does not justify [...]

iPhone Coding

Yesterday I did my first bit of "real" coding on my iPhone. It actually worked pretty well, I thought, though having to switch keyboards for punctuation is definitely a drag.
I've been using MobileTerminal as my terminal client and it's pretty slick. Not a replacement for a real computer, but definitely sufficient for a [...]

Weka Mining Update: It Works!

Weka Mining Update: It Works!

Back in April, I posted about how I was using Weka to do some asset prioritization.  The gist of it was that users would rank assets on a 1-5 scale, and then then the system would recommend other assets that it thought they'd like.  This is the Netflix problem, if you're familiar with that, though [...]

CF Groovy 1.0RC (With Hibernate!)

I've just released 1.0RC of CF Groovy, including Hibernate support.  You can download it, or view the demo app.  The download includes both the demo and the runtime engine.
The big new feature is Hibernate support, of course.  Here are a couple snippets from the demo app.  First, the entity class:
package com.barneyb

import javax.persistence.*

@Entity
class User extends AbstractEntity [...]

Junction, from Sysinternals

I discovered Junction today, while looking for a way to easily test my Groovy/Hibernate integration on all three major CFML runtimes.  It's part of Sysinternals, which is a suite of tools aimed at making Windows not suck so much.  It's got all the low-level utilities you need to efficiently manage and monitor your Windows machines [...]

CF Groovy w/ Hibernate Sample App

I want to put together a little sample app leveraging CF Groovy and it's Hibernate integration, but I don't know what. From a high level, the architecture will look like this:

CFML for the view layer (the HTML templates)
CFML for the web controller (probably FB3Lite)
CFML and Groovy for the service layer (ColdSpring-managed CFC's with Groovy [...]

Fun with Classloading in Java

With my CF Groovy project, I've been doing a lot of Java coding of late. It's all been written in CFML, but it's mostly Java code in CFML syntax. As an aside, doing that sucks. CFML is horrible for writing anything more than the simplest Java code. But on to the [...]

CF Groovy Takes a Nap

After close to two weeks of struggling, I finally managed to deploy pure source to a CFML runtime (Railo, in this case), and get Groovy entities in and out of the database with Hibernate.  No compliation, no IDE, no development-mode server, just my Groovy source along with a hacked up CF Groovy.  This is very [...]

Query/Reporting DSL Bug Fix

Rob Pilic found a couple local variables that I (gasp!) forgot to var scope in the DSL implementations while he was troubleshooting some concurrency issues.  There was one in each file, though totally unrelated.  I've applied his patch to Subversion and updated the demo install (though it won't matter, because it doesn't share instances).