Quantcast
Browsing all 24 articles
Browse latest View live

Why use ColdFusion?

At work, we sometimes get asked why we use ColdFusion. This is usually because another company that has quoted for the job is using PHP. As a result I wrote some copy to go on our website stating Why...

View Article


Running the same Code on ColdFusion & Railo

I've been working on some code which needs to be able to run on ColdFusion and Railo. There are several posts about running them on top of a servlet container or JEE server, but I've gone for a quick...

View Article


Using Slice() in ColdFusion

I just asked on Twitter, if there was a ColdFusion equivalent of JavaScript's .slice() method. Marc Esher replied pointed me at Java's subList method.

View Article

ColdFusion, Railo & JSON

Just a quick blog post about a minor difference between ColdFusion and Railo when returning a query as JSON.

View Article

ColdFusion v Railo ORM

I've been working on an ColdFusion ORM application so that it also runs on Railo and found a few differences.

View Article


URL rewriting before proxying request to Tomcat

With Apache, the request is proxied to Tomcat before the .htacess file is processed containing the URL rewriting rules and as such never gets rewritten.

View Article

Replicating C's ComputeHash and PHP's pack in CFML

I've been working on integrating the eKashu Online Payment Gateway into a site. One of the security options is to generate a unique hash per order. The documentation only gives code examples in C and PHP.

View Article

Backup MySQL to Amazon S3

I've recently launched a site using MySQL as a database, and wanted to be able to schedule database backups to Amazon S3.

View Article


Tomcat JVM settings on Windows

Changing the Railo Tomcat JVM settings when running as a Windows service.

View Article


ORM Paging - under the hood

Ever wondered if ColdFusion ORM gets all the records from the database and then filter them, or does it only get the records it needs from the database.

View Article

Using bCrypt in Railo

Yesterday I blogged about using bCrypt in ColdFusion 10. Today I'm working on a client site running on Railo, so I thought I'd see if I could get it running in Railo.

View Article

singletonPattern and DI1

I've been playing around with Sean Corfield's DI1, a simple convention-based IoC framework. My preferred file structure doesn't work with the default convention, so I started thinking about a...

View Article

var scoping and nulls

Do you need to var scope a variable again if it was previously set to null?

View Article


IsNull() bug?

I've been updating some error handling code and was using IsNull to detect if the URL and FORM scope exist (as some remote calls may not URL or form scopes). However, IsNull was always returning true.

View Article

String concatenation performance reprise

Way back in 2008 I did a blog post on performant ways to concatinate strings in ColdFusion. I've just been working on improving the speed of an old website and thought it was good time to revisit the...

View Article


EntityToQuery Gotcha

EntityToQuery method returns no columns if the array is empty on ColdFusion 9.

View Article

Scoping and closures

I wanted to explore how the variables are scoped when working with closures.

View Article


Using thin wrappers around arrays of structs

I noticed that Sean Corfield had posted on the FW1 mailing list about using a thin wrapper around arrays of structs. This is something that I've experimented with before and I find it to be a useful...

View Article

find the last occurrence of an uppercase character

A really quick post on how to find the last occurrence of an uppercase character in a string

View Article

presenting a free webinar this Wednesday

I'll be presenting a free webinar this Wednesday

View Article
Browsing all 24 articles
Browse latest View live