Browse: Home / development
By barneyb on October 27, 2008
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 [...]
Posted in cfml, development, groovy, tools
By barneyb on September 24, 2008
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 [...]
Posted in cfml, development, groovy, java
By barneyb on August 10, 2008
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 [...]
Posted in development, iphone
By barneyb on July 24, 2008
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 [...]
Posted in development, tools
By barneyb on July 12, 2008
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 [...]
Posted in cfml, coldfusion, database, development, groovy, railo, tools
By barneyb on July 9, 2008
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 [...]
Posted in development, tools
By barneyb on July 7, 2008
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 [...]
Posted in cfml, development, groovy
By barneyb on July 4, 2008
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 [...]
Posted in cfml, development, groovy, java
By barneyb on July 2, 2008
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 [...]
Posted in cfml, database, development, groovy, java, railo
By barneyb on June 26, 2008
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).
Posted in development, tools