chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

Archive for the 'ColdFusion' Category

New FarCry “core” site

Monday, June 23rd, 2008

The guys at Daemon have been busy of late. With the conference just barely over I just noticed they’ve found the time to launch a new site at http://www.farcrycore.org/ for all your information needs on the FarCry framework.
Includes documentation, downloads (for the new version 5!) and more, go and take a look and try it [...]

Read the rest of this entry »

Note: This is for FarCry v3 which is a bit old now but should work for v5
Sometimes when using FarCry I have a need to find an occurance of a page “type” which sits somewhere above where I currently am in the the navigation hierachy.
Say I want to find the “VehicleType” page (which [...]

Read the rest of this entry »

Does your bank do online statements?

Saturday, June 14th, 2008

I’m a lucky member of the teachers credit union, lucky for many reasons but just one of them is that they offer online statements. Meaning you get no correspondence via traditional mail.

They are also donating $1 into the Teachers Environment Fund for each member who signs up for e-statements.
Ask yourself, do you really need all [...]

Read the rest of this entry »

As far back as ColdFusion 6 PreserveSingleQuotes hasn’t worked with array style parameters.

#preserveSingleQuotes(aWhere[i])#

This was even submitted as ColdFusion Bug number 53977 on the CF6 docs, a few years later and we still have no joy for ColdFusion 8
Structures will work but only when you access the value by dot notation, not using array [...]

Read the rest of this entry »

INSERT or UPDATE in one statement with MySQL

Wednesday, April 23rd, 2008

A little while ago I mentioned combining multiple INSERT statements with MySQL, here is another helpful approach to a common problem.
In many systems you will give the user a chance to ADD and EDIT a record, a News post for example. As usual there are many ways to handle writing any changes to the database, [...]

Read the rest of this entry »