Monthly Archives: September 2006
- September 11, 2006
- hostmysite.com and ColdFusion mappings
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 [...]
- September 10, 2006
- <cfcomponent> – should you use the name=”" attribute?
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 [...]
- September 9, 2006
- HTML strip
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 [...]
- September 7, 2006
- CFC Bean generators
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 [...]
- September 7, 2006
- Server settings with Java
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.
<!— get the machine (server) name —>
<cfset variables.serverName = createObject("java", "java.net.InetAddress").localhost.getHostName() /><!— [...]
