Posts Tagged ‘ColdFusion’

New assetQueryString setting in ColdFusion on Wheels 1.1

Thursday, September 30th, 2010

The upcoming ColdFusion on Wheels 1.1 (now in beta) offers a new setting called assetQueryString that can help you more easily manage caching on the client side for assets like images, stylesheets, and JavaScript includes.

Read on for more information about the new setting and the problem that it helps solve.

Read the rest of this entry »

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 »

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 »

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 »

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 »

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 »