chapter31

development in a land far far away…

at the moment

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

Archive for September, 2006

hostmysite.com and ColdFusion mappings

Monday, September 11th, 2006

I’ve recently gotten myself a hostmysite account on a shared server for a project I’m involved with. Everything looked fantastic and they certainly have a great reputation in the community.
Before signing on the dotted line I wanted to make sure everything was in order including:

ColdFusion; Enterprise or Standard?
Multiple CF mappings?
Web mappings?
Multiple DSN’s?
Are any CF [...]

Read the rest of this entry »

Charlie Arehart has an interesting post here on whether you should use the name attribute in cfcomponent.

Apparently there is no ‘name’ attrbribute in the cfdocs for <cfcomponent>, remember you can use displayName or hint for component introspection. And if you want to take advantage of getMetaData()? Well there already is a ‘name’ attribute as default [...]

Read the rest of this entry »

HTML strip

Saturday, September 9th, 2006

Let’s say you have a form or mechanism in a web application which allows users to enter content which may be displayed on a web page, a comment area for example.
In these scenarios you need to be carefull of what my be entered by a malicious user, think cross site scripting. There are various reg [...]

Read the rest of this entry »

CFC Bean generators

Thursday, September 7th, 2006

There are a few Bean generators around for ColdFusion which can save you a lot if time and effort when you need to create your CFC Beans, here are a few making the rounds.

Jonathan Block

A more advanced generator which creates init() and validate() functions for you. For the picky developers out there you might want [...]

Read the rest of this entry »

Server settings with Java

Thursday, September 7th, 2006

Here are a couple of ways which you can determine the name of the JRun instance you are running as well as the server name of the Application server. Here at Daemon we use these quite a bit in our more complex project environments.

Server: #variables.serverName#

[...]

Read the rest of this entry »