Quantcast
Channel: Aliaspooryorik Musings - Last 20 posts
Browsing all 25 articles
Browse latest View live

Dynamic datasources

A while ago someone sent me some code where he was switching the datasource based on a session variable.

View Article



Logging Client side errors with Hoth

A while ago I saw a post about using Google Analytics to log client side error messages. However, I use Aaron Greenlee's excellent Hoth project for handling error reporting and wanted to keep all my...

View Article

Speaking at ColdFusion Developer Week

I'm please to announce that I will be speaking as part of the 2nd annual ColdFusion Developer Week hosted by Adobe. There will be several presentations covering a range of topics and levels, and best...

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 ColdFusion 10

Marc Esher blogged about Hashing passwords with bcrypt in ColdFusion. Since Marc posted this, ColdFusion 10 has been released which has improved Java integration. so I thought I'd take his code and do...

View Article


Recording & Slides for my CF10 and ORM talk

This week I've been lucky enough to be speak as part of Adobe's ColdFusion Developer Week. The recording from my session on Building applications using ColdFusion 10 and ORM is now available

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

Removing duplicates using java.util.HashSet

I recently had an issue where I had a list (of ids) with duplicated items in it. ColdFusion 10 has a function called listRemoveDuplicates which does the job, but I'm working on Coldfusion 9 so needed a...

View Article

Ordering a many-to-many

A quick post on ordering by properties in a many-to-many relationship, using HQL

View Article

Using a ColdFusion Directory Watcher to minify JavaScript

I was talking to a colleague about a Mac programme called CodeKit which watches a directory and when you make changes to a file, it creates a minified version of that file. This got me thinking about...

View Article


Blocking SQL injection with htaccess

A set of htaccess rules to stop SQL injection attempts at the webserver level

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

DataBoss Review

I've managed to get my hands on a copy of Luis Majano's DataBoss and wanted to post some thoughts on it.

View Article
Browsing all 25 articles
Browse latest View live




Latest Images