Posts About Programming Page 2

Loading “Extra” Queries for a Form in CFWheels

Many times, you’ll see this sort of situation when writing a form, where you need to load "extra" queries for things like state and country selectors:

There are many ways that you can load the data that this view template is requiring, each with their pros and cons. I’ll cover 3 different approaches.

Read the rest of this entry ›

Restrict Key CFWheels URL Variables from Google Analytics

Here’s a little tip to keep anyone in your organization using Google Analytics from accidentally reloading your CFWheels application in the wrong environment.

Read the rest of this entry ›

Another Bug Fixed in ColdFISH on Wheels Plugin

Russ Johnson reported a bug with my ColdFISH on Wheels plugin. The bug affected the formattedCode() function’s wrapperElement and wrapperClass arguments, which were being ignored accidentally.

Read the rest of this entry ›

Presentation Tomorrow: Migrating Existing Applications to CFWheels

I’ll be presenting about migrating existing applications to the CFWheels framework tomorrow night, February 10, on the Online ColdFusion Meetup.

I’ve been working on a plan for migrating a Fusebox application to CFWheels, and it’s been a pretty challenging task to think through it all. I don’t care what framework or platform you’re migrating to. It;s not easy. It’s much easier to start anew, but most of us do not have that leisure.

Read the rest of this entry ›

How to Build an Admin Section in CFWheels

Every now and then, someone asks how to build an admin section into their CFWheels application. If they want for it to be in an admin folder, does that mean that you can only have an admin controller that stores everything needed?

Fortunately, one approach allows for you to split your admin section up into as many controllers as you need using CFWheels routes. Let’s discuss how.

Read the rest of this entry ›

Updates to CFWheels PluginManager and Others

I spent some time last night making some security updates to the PluginManager plugin and making sure that all of the plugins that I’ve submitted to are compatible with the newly released CFWheels 1.1.

Read on for links to the plugins and descriptions that I entered in their change logs.

Read the rest of this entry ›

Super-Slow ColdFusion Image Processing

I was excited to finally take some time to add the ability for people to upload screenshots in the CFWheels Site Directory when I ran into a big problem. But when I started sending large screenshots to ColdFusion’s ImageScaleToWidth(), it would take 30+ seconds to do the processing. Unacceptable.

Read the rest of this entry ›

Automatic Data Handler Functions for Partials in CFWheels 1.1

Just over a year ago, I blogged about my implementation of the RSS aggregator for using Yahoo! Pipes, FeedBurner, <cffeed>, and CFWheels partials. Now that CFWheels version 1.1 is in beta (and almost complete), there is a new piece of functionality involving partials that makes my solution simpler.

Read the rest of this entry ›

Add to the Flash with redirectTo() in CFWheels 1.1

Another small enhancement added to the upcoming CFWheels 1.1 (now in beta). You can now add messages to the Flash from redirectTo() instead of needing to call flashInsert() separately.

Read the rest of this entry ›

New assetQueryString Setting in CFWheels 1.1

The upcoming CFWheels 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 the rest of this entry ›