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 ArticleURL 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 ArticleReplicating 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 ArticleBackup 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 ArticleTomcat JVM settings on Windows
Changing the Railo Tomcat JVM settings when running as a Windows service.
View ArticleORM 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 ArticleUsing 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 ArticlesingletonPattern 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 Articlevar scoping and nulls
Do you need to var scope a variable again if it was previously set to null?
View ArticleIsNull() 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 ArticleString 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 ArticleEntityToQuery Gotcha
EntityToQuery method returns no columns if the array is empty on ColdFusion 9.
View ArticleScoping and closures
I wanted to explore how the variables are scoped when working with closures.
View ArticleUsing 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 Articlefind 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 Articlepresenting a free webinar this Wednesday
I'll be presenting a free webinar this Wednesday
View ArticleUsing the subsystem layout for FW1 errors
I've been working on a FW1 application that uses subsystems, where I wanted the error messages (not that there will be any of course!) to show but use the correct layout for the current subsystem. Out...
View ArticleFinding whitespace generation
Finding where whitespace is being created in your application
View ArticleTesting Code Coverage
I've been thinking a lot about testing recently and one of the things that has always concerned me since I started looking seriously at unit testing my CFML code is not having a way to determine how...
View ArticleEvent-Driven Approach for the Separation of Concerns
An Event-Driven Approach for the Separation of Concerns.
View Article