wednesday

You are browsing the search results for "wednesday"

Should It Just Work?

Last Wednesday evening Sean Corfield and I were chatting over beers and he caught me by surprise with a statement he made.  We were talking about the ORM functionality in CF9, and he liked how it just worked.  You invoke a setter, and it gets to the database with nothing else.  I agree in theory, [...]

An Ink Free Year

Yesterday I turned 29.  One year older on the clock, and about 20 years older in effect.  I'd planned on getting a leaf tattooed on my right calf as a birthday present, but like so much else, it didn't work out.  Since I turned 18, I've gone and had birthday tattoos more than half the [...]

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

Reflection on CF8's Image Tooling

I was really hoping for (though not really expecting) a nice simple solution to centering text on an image to show up as a result of the Wednesday Contest. Sadly, that wasn't the case. As you might guess, the contest was based on a real world use case that I had: gracefully [...]

Wednesday Contest Solution (pt. 2)

And here's the extra credit solution:
<cfif NOT isDefined("attributes")>
<cfset attributes = structNew() />
<cfset structAppend(attributes, form, false) />
<cfset structAppend(attributes, url, false) />
</cfif>
<cfparam name="attributes.width" default="100″ />
<cfparam name="attributes.height" default="100″ />
<cfparam name="attributes.backgroundColor" default="f7f7f7″ />
<cfparam name="attributes.borderColor" default="cccccc" />
<cfparam name="attributes.textColor" default="990000″ />
<cfparam name="attributes.text" default="Hello!" />
<cfparam name="attributes.textSize" default="16″ />
<cfparam name="attributes.textStyle" default="bolditalic" />
<cfparam name="attributes.textFont" default="courier new" />

<cfset fontArgs [...]

Wednesday Contest Solution (pt. 1)

Since I had a whopping zero takers for my contest, I'm thinking it won't be a repeat event. Here's my solution for the first portion of the challenge:
<cfif NOT isDefined("attributes")>
<cfset attributes = structNew() />
<cfset structAppend(attributes, form, false) />
<cfset structAppend(attributes, url, false) />
</cfif>
<cfparam name="attributes.width" default="100″ />
<cfparam name="attributes.height" default="100″ />
<cfparam [...]

Contest Update

For those of you who missed it, I posted a little contest this morning and have gotten a whopping zero submissions!  There is still time to submit a solution, but be quick, as my solution (just the base, not extra credit) will be published tomorrow morning.  I'll be posting a full solution (with the extra [...]

Wednesday Contest

Wednesday Contest

Today's contest uses the new image manipulation routines in ColdFusion 8. The objective is to take the custom tag/template skeleton below and add to it so that it'll generate the following image:

The tag/template can be invoked as a custom tag, or directly on the URL with URL and/or form parameters to set it's values. [...]