Category Archives: ColdFusion

Hello World with ColdFusion and Spring

Firstly, what is Spring? Spring is a Java based ‘dependency injection’ framework, which is a complicated name for something that simply ‘helps objects to talk to each other’ in a well designed way. Spring is the framework that was the basis for the popular ColdFusion dependency injection framework, ColdSpring. Learn more about dependency injection in [...]
Posted in ColdFusion | Tagged , , | Comments closed

Executing System Commands with ColdFusion

Update 19 March 2010: Note that as of ColdFusion 8 onwards cfexecute allows you to capturing the standard and error outputs. Update 13 May 2008: This project has been moved over to RIA Forge at http://systemcommand.riaforge.org/ This is an update to a previous entry. Typically when you want to execute a system command you would [...]
Posted in ColdFusion | Tagged | Comments closed

Using ColdFusion frameworks on shared hosting

I have had problems in the past when wanting to use a ColdFusion framework such as Mach II, Model Glue, ColdSpring or Reactor in a shared hosting environment. For example, suppose you install ColdSpring under the /coldspring directory, then everything works just fine. Then another site on the same shared server also installs coldspring, and [...]
Posted in ColdFusion | Tagged , | Comments closed

Executing System Commands with ColdFusion

This entry has been updated! Typically when you want to execute a system command you would use the <cfexecute> tag, but there are some situations when this may not be ideal such as when you want to capture both the “standard output” and “error output” streams of the system command. Standard Output Stream and Error [...]
Posted in ColdFusion | Tagged | Comments closed

Date Objects vs Date Strings in ColdFusion

To use dates effectively in ColdFusion it is important to understand when you are dealing with dates represented internally as Strings and when you are dealing with dates represented internally as date Objects. This is particularly important when dealing with non US dates formats. So how do you know when you are using a date [...]
Posted in ColdFusion | Tagged | Comments closed