Orange is my favorite color

Archive for the 'ColdFusion' Category » Page 7


Quick tip for anyone using ColdFusion’s serializeJSON routine for Javascript applications. The type conversion from CF to JSON is finicky and there are times when you need more finely grained control. Specifically using an Ext combobox, we ran into an issue where an <option> value of 0 was treated as false preventing selection [...]

A warning for anyone who uses the “Disable type checking” in the ColdFusion administrator:
This one took me a long time to debug today… I have a “formbean” defined in my Transfer ORM configuration with a onetomany relationship named “Child” that references itself. This allows a parent-child relationship. I had a typo in my [...]

I’ve been reading through a handful of Jochem’s posts about Adobe’s (incompatible with the standard 35-character) UUID and the rest of the worlds UUID/GUID (36-character). Since PostgreSQL introduced UUIDs in 8.3, I have been thinking about trying to convert my UUID primary keys to the native type in order to gain speed and reduce [...]

I put together an Ant script today to generate builds for cfpayment and am posting the most current build for public review. We have gateways and working unit test coverage for Braintree, iTransact and Skipjack gateways. This should be everything needed to add your own gateway (and, ahem, contribute it back to the [...]

The title is a little ambiguous but I don’t know how else to describe the behavior that Java gives you where the following request:
/test.cfm?id=foo&id=bar&id=snafu
or form with set of checkboxes:
<input type=”checkbox” name=”id” value=”1000″ /> 1000<br />
<input type=”checkbox” name=”id” value=”1001″ /> 1001<br />
<input type=”checkbox” name=”id” value=”1002″ /> 1002<br />
can be transformed using request.getParameterValues() into arrays because we [...]

There are many haters of Hungarian Notation. Prepare to pile on.
I’ve had this post in my drafts queue for a long time but this thread about escaping SQL reserved keywords on the Transfer group prompted me to finish my thoughts:
Most applications have a User table, if those users are organized then there may be [...]

I’m building a series of APIs that bypass Model-Glue for use by Javascript applications using jQuery and EXT. I wired the whole deal up using the super-cool Remote Proxy Beans. When it came time to request JSON back from the CFC using remote.cfc?returnFormat=json, there were four problems:

Extraneous whitespace being returned
Content-type was understood by [...]

I’ve been working on building a RESTful web service with ColdFusion lately and there isn’t much information out there. Lots of people talk about consuming them but few people are talking about how to build them. I’m not yet ready to share what I’ve learned (especially the insight from Kevin J. Miller) as [...]

We’ve been hard at work the last few weeks on making real, meaningful ground on CFPAYMENT, the open source ColdFusion payment processing library that generalizes many different gateways into a single, pluggable API. In the run-up to 1.0, I wanted to share some snippets to get you excited about using cfpayment for your next [...]

I read a post by Jared Rypka-Hauer this morning on the Model-Glue list about his Apache-CF configuration that got me nodding in agreement. He sets up his Apache like so:

I leave CFIDE and WEB-INF in the default location and create a symbolic link to it in the webroot of any vhost that needs access [...]