A First Look at MightyMock
November 27, 2009
MightyMock is a mock framework to help you unit test your applications. I'm using it with MXunit, but you should be able to use it with any Unit Testing framework. So why do you need it? Read more »
Getting started with HQL
November 05, 2009
Hibernate has it's only query language called HQL. I thought I'd put together some simple examples of how you can use it in your ColdFusion 9 applications. Read more »
Creating Gateways using a GatewayFactory for ORM
October 08, 2009
Joe Reinhart blogged earlier this week about his ColdFusion 9 ORM: Generic DAO wrapper. I've been playing around with something similar (although I don't have a dynamic finder method like Joe has) which uses a Gateway Factory and an Abstract Gateway and thought I'd post my code here in case anyone was interested. Read more »
Self Validating Entities with CF9
August 23, 2009
The default settings for ColdFusion 9's ORM capabilities mean that you don't want to populate your entities with invalid data as it will be automatically saved. Read more »
EntityLoadByPK - undocumented cf9 method
July 23, 2009
I was reading Rupesh Kumar's blog where he'd posted this example: EntityLoadByPK("Artists", 1); I hadn't seen the EntityLoadByPK method before, so I went off to check the docs and couldn't find it. Read more »
Introducing the ColdFusion 9 ORM Event Handler
July 14, 2009
Usually when you build applications, you want to have some kind of logging. A classic example of this is to log when an object has been deleted (removed from the database). Thankfully ColdFusion 9 has a feature called Event Handling which is really useful when you want to log events. So how do you use it? Read more »
ColdFusion 9 ORM example
July 13, 2009
Mark Mandel has written a great article for the Adobe Devnet on Introducing ORM in Adobe ColdFusion 9 Beta. I just thought I'd hop on the bandwagon and blog about a simple example demonstrating some of the ORM features using the in-built cfartgallery datasource so you can run it without setting up a database. Read more »
Want to learn OOP?
July 06, 2009
I saw a post from someone wanting to learn OOP. I started posting a comment but it got a bit long and I figured it deserved it's own post. So here are my thoughts on learning OOP. Read more »
OO101 Part 3 Presentation
May 14, 2009
I'm doing an series of presentations on Object Orientated Programming (OOP) for Devon CFUG. This is the third instalment where we actually get to build something! Read more »
OO101 Part 2 Presentation
March 26, 2009
This is my 2nd presentation from my OO101 series for Devon CFUG. Covers encapsulation, polymorphism, inheritance, composition, method over-riding and the super keyword. Read more »




