cfml

Groovy Preso on Connect

My Groovy presentation next week for the PDX RIA will also be available online (via Connect) at http://experts.na3.acrobat.com/r59025898/.  A recording will be available as well, but that URL isn't available until afterwards.  I'll post it after the meeting, along with my materials.

Groovy at PDXRIA

Next Thursday (Sept 11) I'll be presenting at the PDX RIA group (formerly CFUG) about Groovy.  Someone (cough…Simeon…cough) hasn't updated the site with the new info, but rest assured that it's happening.  As you might imagine, I'll be talking about my CF Groovy framework, but I'll also be talking about JVM language integration in general, [...]

Hibernate for CF (and a new TransactionAdvice)

Since I added Hibernate support to CF Groovy, I've been using that for pretty much all new development.  Oh, how nice it is.  The perm-gen issue is still lingering, but if after a few projects, I've realized that you don't actually end up touching your persistent entities that much, so it's not as big a [...]

MX Unit is Slick

After seeing that MX Unit on Railo had some issues, I switched over to ColdFusion and I'm impressed.  Marc, Bill, et al have done a really great job.  They've resolved a number of issues that I had with CFCUnit, and really embraced the "Integrated" in "Integrated Development Environment."
I know I'm late to the party, but [...]

ColdFusion Struct Literals Fail Again

ColdFusion introduced CFML struct and array literals in CF 8.  They sucked.  Assignment only, no nesting, and the use of '=' for key-name pairs instead of ':', like every other language including other parts of CFML.  CF 8.0.1 fixed the nesting issue, but not the others.  I've been trying to figure out why it's an [...]

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 [...]

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 Redux

I just got through significantly revamping CF Groovy so that it's CFC based, instead of all in the custom tags.  The custom tags remain, but now you can create and manage a CF Groovy runtime instance manually, rather than letting the tags do it for you.  This will greatly assist in production performance as 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 [...]