Posts About ColdFusion

Bug fixes in ColdFISH on Wheels version 0.3

Wednesday, June 30th, 2010

I went to deploy my new ColdFISH on Wheels plugin on my Linux server and got a curious error. Especially if you’re using Linux, you’ll want to upgrade to ColdFISH on Wheels 0.3 ASAP.

What happened? Read on to find out.

Read the rest of this entry »

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 »

Full CFScript CFCs aren’t yet where they need to be

Saturday, April 17th, 2010

A few months ago, I blogged about my excitement about the role that full script CFCs could have in an MVC stack, particularly with ColdFusion on Wheels. In my excitement to try out the new feature, I had spent much of a Saturday manually converting all of my components into CFScript components in my portal project called Administrivia.

Unfortunately, the CFScript part of ColdFusion isn’t quite where it needs to be yet. Read on to find out why.

Read the rest of this entry »

A rally cry for ColdFusion

Thursday, March 25th, 2010

These are exciting times for ColdFusion. We have open source alternatives. Adobe just released their first shot at an official ColdFusion IDE, and they’ve even included Flash Builder in the package for free.

I’ve seen people comment that Adobe needs to promote and advertise ColdFusion more heavily. I think that this is a problem. While they are responsible for advertising and promotion to a degree, we must acknowledge that they’ve invested a lot into creating great tools for us to use and take some of the responsibility into our own hands.

Read the rest of this entry »

First step in throwing your XHTML document into Quirks Mode

Thursday, December 31st, 2009

A lot of websites pursue XHTML as their document type, which is really cool. But a lot of them end up not validating with one little mistake. Even worse, with this mistake, documents that are made to run in “standards mode” are immediately thrown into quirks mode by browsers because web developers don’t know how to do their jobs.

Read on to find out how to avoid this all-too-common mistake.

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 »

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 »

Follow me on Twitter

Thursday, September 10th, 2009

I’ve always thought Twitter a glorious waste of time. But I recently found out that much of the CFML community hangs out there.

So here’s my new Twitter handle: @cf_chrispeters.

I must admit that joining Twitter with the goal of connecting with other CFers makes it a much more rewarding experience. I’ve learned a few things already just from links that others have been posting. If you use ColdFusion, Railo, or OpenBD, then you should give it a shot.

Read the rest of this entry »

Improving the tutorial: using the same view for multiple actions in ColdFusion on Wheels

Thursday, August 20th, 2009

I’ll fulfill my promise by giving another example of how I would improve the Hello Database tutorial for ColdFusion on Wheels.

This time, I’ll talk about how we could factor out view logic so that the profile form can be used for both the add and edit actions. With all of this MVC goodness, we should be able to do some refactoring easily, shouldn’t we?

Read the rest of this entry »