Posts About ColdFusion on Wheels

Structuring CFCs a little like Ruby

Tuesday, May 18th, 2010

As I hit the books and learned about Ruby on Rails a couple years ago, there was one thing that I admired about how Ruby handles public and private sections of classes.

How can I take a lesson from Ruby and apply it to my CFML coding? I’m glad that you asked! Read on for more details.

Read the rest of this entry »

404 error handling in ColdFusion on Wheels

Tuesday, March 30th, 2010

This is fairly simple, but I figured that I would share my approach for 404 error pages in ColdFusion on Wheels and see if anyone has a different/better way of doing it. This example demonstrates code used on cfwheels.org.

Read on to learn more.

Read the rest of this entry »

Does exactly what it says on the tin

Saturday, February 6th, 2010

“Does exactly what it says on the tin.”

I love it. All of our method and function names should do exactly the same.

Read on for more context and why Andy Bellenie is a genius.

Read the rest of this entry »

Up and rolling with Git on Snow Leopard

Saturday, November 28th, 2009

This morning, I set up a GitHub account so that I could have some public repositories for my ColdFusion on Wheels plugins. Feel free to follow me and watch my repositories as I post them up. (Gotta learn how to do that first though!)

Read on for a summary of how I installed my local copy of Git on Snow Leopard.

Read the rest of this entry »

Using extra CFC attributes for documentation

Thursday, November 12th, 2009

For the ColdFusion on Wheels API documentation, we chose to do something a little unconventional (but pretty cool). Using some extra CFC attributes and CFML‘s GetMetaData() function, we wrote a pretty cool documentation parser for ColdFusion on Wheels.

Read on for an example of what we did.

Read the rest of this entry »

Script-based controllers and models, tag-based views

Thursday, October 22nd, 2009

I’m looking forward to playing around with ColdFusion 9 when I get some more time here in a month or so. One of the areas that interests me in particular is the ability to write full CFCs in CFScript syntax.

Read on for what I feel is the perfect blend of CFML features used in the different layers of the ColdFusion on Wheels framework:

  • Controllers in script syntax
  • Models in script syntax
  • Views in tag syntax

Read the rest of this entry »

Wheels is only a hammer

Thursday, October 8th, 2009

My posting this is a seriously delayed reaction. But I must admit that I was using Wheels as a hammer and trying to treat a problem like a nail when I wrote about creating a Wheels partial for setting form focus.

Read on to see where I went wrong.

Read the rest of this entry »

Aggregating RSS feeds with Delicious, Yahoo! Pipes, FeedBurner, and CFML

Tuesday, September 29th, 2009

Over the weekend, I created a couple simple feed aggregators on the ColdFusion on Wheels Community page. I saved major time by using a mashup of Delicious, Yahoo! Pipes, FeedBurner, and the <cffeed> tag in CFML. This was far easier than creating my own feed aggregator by hand.

If you’ve been curious about any of these tools, I highly recommend reading this post.

Read the rest of this entry »

ColdFusion on Rails is almost here

Thursday, September 17th, 2009

We released ColdFusion on Wheels 0.9.4 on Tuesday. This project has been a dream come true. Although we’re still in beta, there is quite a bit of momentum, and I imagine that people will take a closer look at it after we go 1.0.

Read on for more of my thoughts of where we’ve gone—and where we’re going.

Read the rest of this entry »

Wheels + jQuery partial for setting form focus

Tuesday, August 25th, 2009

You’ve seen it before: you get to a login screen, and the cursor automatically jumps to the username box so you can just start typing. It’s very convenient.

But developers seem to screw this up regularly. I’ve seen it implemented so poorly that it becomes highly unusable and opens potential security problems.

I’ll take some time to show you how I implemented this in jQuery and then encapsulated it for reuse within a partial in ColdFusion on Wheels.

Read the rest of this entry »