i Know Kung Foo Consulting

Screwy issue when defining a string. (cfif within a cfset)

I was browsing through some tickets in Jira today when I found a couple of bugs related to tables not displaying correctly in MSIE. When I found an example, it basically looked like a <TR> tag had not been closed correctly. When I viewed the source HTML, imagine how surprised I was to find a <cfif> statement gumming up the works.

[More]

SQL approach to Showing Every Nth Record

Earlier today, Ray Camden posted a quick ColdFusion-centric solution to showing only the Nth records of a query. His solution is fine, but I wonder how it would perform for large queries on a site under high load. Here's a database-centric solution that pulls back every Nth record, allowing CF to just display the final record set.

[More]

A few updates before heading to Adobe MAX

First, let me apologize for the recent lack of posts. I've been working on a number of projects at work and I just haven't been able to find the time for blogging. I just uploaded some tweaks to the site's layout. Please let me know if anything's out of whack.

[More]

Adobe MAX 2008 BoF: Addressing the ColdFusion Developers' Skills Gap

If you're going to MAX this year, make sure to check out the Bird of a Feather (BoF) meetings Monday night (11/17). These are informal, 50 minute meetings where we can discuss various issues and get to know each other while eating pizza and having a few beers.

[More]

Remove duplicate list or array elements using ColdFusion and Java

I've been working on a new feature for my company's main application. Basically I need to associate some data with a list of students. The list of students is generated from existing class rosters. Since students can be in more than one class, it's possible the same student gets selected twice. So how can I quickly remove any duplicates and store only the unique list of students?

[More]

Using jQuery with ColdFusion to handle form field values

More often than not, you're placing ColdFusion (or any server-side language) code within HTML to set pre-existing values of a form. You can cut down on tons of excess server-side code by setting those values using Javascript. Here are a few examples of how you can use jQuery with ColdFusion to set form values.

[More]

Yo Adrian! / OOCF 7.3.1: How does my bean get a new ID when calling Create()?

Justin Treher asks: "Yo, Adrian. I see that you are using autonumber for your tables. Whenever you run the CREATE method in the DAO you are just returning true. How does the application get the ID?"

[More]

Intro: HTML to Flex in a matter of days

My first project at my new job is to create usage reports for our product. I started building a UI with HTML, Jquery and ColdFusion, but I soon realized that we were going to need a more fluid interface to the data.

[More]

The ACME Guide: 64-bit Ubuntu 8.04 LTS Hardy Heron Edition - Part 5

Now that our ACME stack has been installed, let's setup some isolated development areas. To do this, we need to create one or more Virtual Hosts in Apache and setup some local domains.

[More]

The ACME Guide: 64-bit Ubuntu 8.04 LTS Hardy Heron Edition - Part 4

We're in the final stretch. We've got Apache, ColdFusion and MySQL up and running. Now we need a way to write some actual ColdFusion code in Linux. For that, we need the Eclipse IDE and a few plug-ins, primarily CFEclipse.

[More]

More Entries